/*   public byte[] ObtenerPrimero(byte[] key)
         * {
         *     byte[] byteColor=null;
         *     Color? color=ObtenerPrimero(Color.FromArgb(Serializar.ToInt(key)));
         *     if (color != null)
         *         byteColor = Serializar.GetBytes(color.Value.ToArgb());
         *     return byteColor;
         * }*/
        public byte[] ObtenerPrimero(byte[] key)
        {
            int           keyArgb = Serializar.ToInt(key);
            List <byte[]> coloresList;

            byte[] color = null;
            if (diccionario.ContainsKey(keyArgb))
            {
                coloresList = diccionario.GetValue(keyArgb);
                if (coloresList != null && coloresList.Count > 0)
                {
                    color = coloresList[0];
                }
            }
            return(color);
        }