Re: browser safe colors

by Byron Canfield <barn(at)byronc.com>

 Date:  Mon, 06 Apr 1998 16:42:22 -0700
 To:  Jim Rosenfield <jnr(at)insightweb.com>,
hwg-graphics(at)mail.hwg.org,
hwg-techniques(at)mail.hwg.org,
bkelton(at)soundcom.net
 In-Reply-To:  bitshop
  todo: View Thread, Original
>Where can I get the "#aabbcc" values for the 214 "browser safe" colors?

Well, in the first place, it's 216 colors. It's really not too difficult to
remember, once you understand the logic.

Divide 255 by 5. That yields 51. Hex for 51 is 33.

If you figure the colors with their decimal values, each of the Red, Green,
and Blue values must be an integer multiple of 51, i.e., 0, 51, 102, 153,
204, or 255. The corresponding Hex values are 00, 33, 66, 99, CC, and FF.
Barn
(Byron Canfield)
http://www.byronc.com
================================
    "Inside every large problem
     there is a small problem struggling to get out."
          --Hoare's Law of Problem Solving

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.