Every color on a computer is a mix of 3 colors of light: red, green and blue (magnify your monitor with a magnifier and see). To write a color down, you have to know how much red, green and blue that color has. You can find that out with the color-generator below.
There are 2 ways to write an RGB-color down: in a hexadecimal, or in RGB.
If you write a color down in a hexadecimal, always start with the '#'. The computer then knows you are writing the color in a hexadecimal. After that, you write down how much red, green and blue the color contains, in hexadecimal in 2 numbers. A hexadecimal color always looks like this: #RRGGBB.
Writing down a color in RGB is easier, it looks like this: RGB(R,G,B). Here, the R is the amount of red (just in decimal), G is the amount of green and B is the amount of blue.
| Color: |
Red: Green: Blue: |
Hue: Saturation: Luminance: |
Hexadecimal: RGB: |
HTML-color: |