Use the color code converter below to quickly convert colors into RGB, HEX, HSL, HWB, CMYK or NCOL. You can type any code in the input box and the table will show you all conversions.
Name | Red |
rgb | rgb(255, 0, 0) |
hex | #ff0000 |
hsl | hsl(0, 100%, 50%) |
hwb | hwb(0, 0%, 0%) |
cmyk | cmyk(0%, 100%, 100%, 0%) |
Ncol | R0, 0%, 0% |
Useful Definitions
RGB: The RGB color model is an additive color model in which the red, green, and blue primary colors of light are added together in various ways to reproduce a broad array of colors.
HEX: A HEX color is expressed as a six-digit combination of numbers and letters defined by its mix of red, green and blue (RGB).
HSL: HSL stands for hue, saturation, and lightness. HSL color values are specified with hsl(hue, saturation, lightness).
HWB: HWB is a cylindrical-coordinate representation of points in an RGB color model, similar to HSL and HSV.
CMYK: The CMYK color model is a subtractive color model, based on the CMY color model, used in color printing, and is also used to describe the printing process itself.
Ncol: Natural colors (NCol) is an initiative from W3Schools. The system is designed to make it easier to select HTML colors. NCol specifies colors using a color letter with a number to specify the distance (in percent) from the color.