Keep the same color across formats
Each line is converted on its own into the format you choose, or into all of them at once. A line can be a CSS color name such as tomato, HEX with or without opacity, rgb() or rgba(), hsl() or hsla(), hsv(), hwb() or cmyk(). RGB uses whole channels from 0 to 255; HSL, HSV, HWB and CMYK use percentages. A color without a CSS name gets the closest one. An error names the line to fix and keeps the rest of your list.
Worked example
The lines tomato and cmyk(0%, 50%, 100%, 0%) become #FF6347 and #FF8000 when HEX output is selected; as CMYK, tomato is cmyk(0%, 61.2%, 72.2%, 0%).
Before you rely on the result
This converter uses sRGB. HSL, HSV, HWB and CMYK values are rounded for display, and eight-digit HEX keeps opacity. CMYK here is the plain formula of CSS Color 5, with no printer profile: it does not describe a real press's inks, so ask the printer for their values. CSS names have no opacity; the name describes the opaque color.
Cite this page
ToolOctopus. “Color converter.” Updated . https://tooloctopus.com/color-converter.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.