Reply to Re: Hex Color Codes - Hex 6 <=> Hex 3

Your name:

Reply:


Posted by dorayme on 08/18/05 02:04

> From: mbstevens <NOXwebmasterx@xmbstevensx.com>
>
> dorayme wrote:
>>> From: lucanos@gmail.com
>>
>>> I'm trying to translate the HTML Color Codes between the Hex 6 & Hex 3
>>> standards.
>>> Does anyone know of any online translators to do this?
>>> Or should I simply use basic rounding to change Hex6 to Hex3 (ie
>>> #A1B7C9 becomes #ABD).
>>>
>>
>> Don't use 3 for the mere sake of shorter colour css specification.
>> #XXYYZZ is the format of a class of so many colours. This format has a
>> shorthand of #XYZ. Within this class, the implication goes the other
>> way too. So one can expand #XYZ to #XXYYZZ.
>>
>> If you want a larger class of colours, stick to 6. There is nothing
>> then to gain from 3ing colours that happen to be like #XXYYZZ and lots
>> to lose, namely a changing of actual colour when 3ing a colour like
>> #UVWXYZ by some rather arbitrary "rounding". There is unlikely to be a
>> logical way of doing this to preserve the approx colour without
>> reference to the colour itself and matching a "close enough" colour
>> between two sets of colour (in which one is a subset of the other).
>
> This would _only_ matter in photo retouching, digital imaging,
> and the like. Designing pages with backgrounds and foregrounds
> from three hex integers provides more than enough colors. I
> find it also makes it easier to tweak the colors -- to find
> combinations I like without resorting to a color chart.
> --


I, too, tend to only use the 3 hex lot. But this
may not suit everyone. I have fancied that I
can't *always* get what I want in 3 and so use 6
now and then. But this may be a simple conceit.
Every person needs some to have the pride to go
on.

dorayme

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация