Color ID numbers

Some of the most basic color numbers are:

 

0

 

8388608

 

32768

 

8421376

 

128

 

8388736

 

32896

 

12632256

 

8421504

 

16711680

 

65280

 

16776960

 

255

 

16711935

 

65535

 

16777215

If you know the Red, Green, and Blue (RGB) values for a color, or if you know the HTML color number such as #178E35 (  ), then you can calculate the corresponding color number to use in GainSeeker.

 

Contents  [Hide]

 

Beginning with Red, Green and Blue color values

Many places in Windows provide a window that allows you to choose a color and view or edit the Red, Green and Blue color values to achieve a custom color.

For example, you can change the background color of a list or table to view the Color window and then click Define Custom Colors to expand the window like the example below:

The unique combination of Red, Green and Blue color values represents the color swatch shown in the Color|Solid box.

To change the color being displayed, you can:

Noting the Red, Green and Blue color values

When you arrive at the desired color, note the Red, Green and Blue color values.

 

values:

Red:

 

Green:

 

Blue:

 

For example:

In this picture, the selected color reflects the following values:

 

value:

Red:

23

Green:

142

Blue:

53

Converting the Red, Green and Blue color values to hexadecimal values

The next step is to convert each of these numbers to hexadecimal format:

  1. Launch the Windows calculator. This can be found under Programs\Accessories in many versions of Windows.

  2. Click the View menu and then click Scientific.

  3. Click the View menu and then click Decimal.

  4. Type the number you want to convert to hexadecimal format - such as the Red color value - and then click Hex.

    For example, typing the number 23 and then clicking Hex displays the following result:

  5. Note the hexadecimal result using two digits (e.g., a hex result of "0" should be noted as "00").

 

value:

in hex:

Red:

23

17

Green:

142

 

Blue:

53

 

Remember that numbers represented in valid hexadecimal format may include the letters A-F.

  1. Repeat steps 3-5 above for the remaining color values.

 

value:

in hex:

Red:

23

17

Green:

142

8E

Blue:

53

35

Beginning with an HTML color number

To browse for an HTML color number, you can use a web-based tool such as http://www.w3schools.com/html/html_colors.asp.

If you know the desired HTML color number - such as #178E35 (   ) - it is easy to break up this number into its Red, Green and Blue component parts:

  1. remove the # symbol

  2. the first two digits represent the Red color (in hex)

  3. the next two digits represent the Green color (in hex)

  4. the last two digits represent the Blue color (in hex)

For example, the HTML color #178E35 (   ) can be represented as:

 

in hex:

Red:

17

Green:

8E

Blue:

35

Calculating the color number for GainSeeker

After you have determined the hexadecimal representations of the Red, Green and Blue values for your desired color, you can construct a single intermediate hexadecimal number to represent this color and then convert this hex number back to decimal format for use in GainSeeker:

  1. Launch the Windows calculator. This can be found under Programs\Accessories in many versions of Windows.

  2. Click the View menu and then click Scientific.

  3. Click the View menu and then click Hex.

  4. Enter the hexadecimal number to convert as follows:

    1. Type the two-digit hexadecimal number for the Blue color value.

    2. Type the two-digit hexadecimal number for the Green color value.

    3. Type the two-digit hexadecimal number for the Red color value.

Do not type as space between these values.

Using the examples shown above for the color     with Red number 17 (hex), Green number 8E (hex) and Blue number 35 (hex), you would type the number 358E17.

  1. Click Dec. The resulting number is the color number for you to use in GainSeeker.

For example, typing the number 358E17 and then clicking Dec displays the following result:

This number 3509783 can be used to specify the color     on components of the GainSeeker windows.