How to use the color code converter
Simply enter the color code in either Hex, RGB, or CMYK, and the calculator will automatically give the values of the other two formats. Alternatively, use the sliders by clicking and dragging them. The background of the calculator will automatically change color according to the color code you’ve entered, to give you a preview of the color.
Hex (hexadecimal) colors are used in HTML, so this is often what you are trying to calculate. A hex color code consists of a hashtag (#), followed by 6 digits. It’s a hexadecimal representation of how much red, green and blue there is in the color. The first two digits specify how much red there is, the third and fourth digit specify green, and the last two specify blue. Example: #000044, which is one of the colors I’m using on this site, has no red, no green, and a little blue; which results in a very dark shade of blue.
The RGB color model also specifies how much Red, Green and Blue there is in a color, but uses a range from 0 (none) to 255 (max). This color model is what most software uses, and you’re proabably familiar with if you’re using MS Word, Excel, Powerpoint, or Paint. For instance, the RGB color code for the hex color code #000044, is RGB(0,0,68).
CMYK is a four color model, used for instance by printers. It expresses a color in Cyan, Magenta, Yellow, and ‘Key‘ (black), each ranging on a scale from 0-100. The example RGB(0,0,68) color makes CYMK(100,100,0,0), as an equal mix of Cyan and Magenta make blue.
For an example of using Hex color codes to edit the look of your theme, read this article.
More information on color codes: