SOURCE CODE: Color Format Converter

VIEW EXAMPLE




  Color Format Converter | JavaScript Examples | UIZE JavaScript Framework
  
  
  
  
  
  
  
  






UIZE JavaScript Framework

JAVASCRIPT EXAMPLES Color Format Converter

The Color Format Converter Tool lets you easily convert color values from one format to another. You can convert between RGB (Red, Green, Blue) hex, RGB tuple, HSL (Hue, Saturation, Lightness), HSV (Hue, Saturation, Value), CMYK (Cyan, Magenta, Yellow, Key), and SVG color names.

To convert a color from one format to another, simply enter your color value in the text input that has the format that your color is in. As you type, all the other formats of the current color will be updated dynamically. You can also edit the current color by using the red, green, and blue sliders of the RGB color picker to the left, and you can see a more detailed preview of the current color in the color info widget to the right.

Different Formats of the Color
RGB (Red, Green, Blue) Hex Value
RGB (Red, Green, Blue) Tuple
HSL (Hue, Saturation, Lightness) Tuple
HSV (Hue, Saturation, Value) Tuple
CMYK (Cyan, Magenta, Yellow, Key) Tuple
SVG Color Name (hex, if no SVG name)