About this tool
Pick a color and instantly see its hex, rgb(), hsl() and hwb() forms, converted entirely in your browser.
Accepted input is a hex color with or without the leading #, in 3-digit shorthand (such as f80) or 6-digit form. Letters can be upper or lower case, but results are always shown in lowercase. Eight-digit hex with an alpha channel is not accepted, so only opaque colors work.
The picker and the text box stay in sync. A valid value updates the swatch and all four tiles as you type; an invalid one shows an error and clears the tiles. Hue, saturation, lightness, whiteness and blackness are rounded to whole numbers. The HWB tile uses the space-separated syntax, for example hwb(217 23% 4%), while rgb() and hsl() use commas.