Converting Colors


Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 1
FormatColor
Hex5F5B59
RGB95, 91, 89
RGB Percent37%, 36%, 35%
CMY0.6271, 0.6428, 0.6506
CMYK0.00, 0.04, 0.06, 0.63
HSL20°, 3%, 36%
HSV20°, 6%, 37%
XYZ10.2853, 10.6589, 10.9869
Conversions Part 2
FormatColor
RYB95, 92, 89
Decimal6249305
CIELab39.00, 1.20, 1.72
CIELCh39, 2.093, 55.099
Yxy10.6589, 0.3221, 0.3338
Android (android.graphics.Color)4284439385 (0xFF5F5B59)
YUV91.9680, -1.4632, 2.6591

Details

The CIELCh color 39, 2.093, 55.099 is a dark color, and the websafe version is hex 666666. A complement of this color would be 39, 2.038, 236.373, and the grayscale version is 39, 0.006, 296.813.

A 20% lighter version of the original color is 59, 1.927, 55.180, and 19, 2.043, 39.216 is the 20% darker color. If you saturate the color by 10%, you get 37, 5.594, 54.507, and if you desaturate by 10%, it is 41, 1.189, 236.253.

Distribution

RGB Color DistributionThe distribution of the RGB values, red, green and blue.RedThe Perecentage of Red in the Color.GreenThe Perecentage of Green in the Color.BlueThe Perecentage of Blue in the Color.RGB
RYB Color DistributionThe distribution of the RYB values, red, yellow and blue.RedThe Perecentage of Red in the Color.YellowThe Perecentage of Yellow in the Color.BlueThe Perecentage of Blue in the Color.RYB
CMYK Color DistributionThe distribution of the CMYK values, Cyan, Magenta, Yellow and Black.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.BlackThe Perecentage of Black in the Color.CMYK
CMY Color DistributionThe distribution of the CMY values, Cyan, Magenta, Yellow.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.CMY

Brightness & Saturation Gradients

These gradients show how the CIELCh color 39, 2.093, 55.099 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Similar to the brightness gradients but the following saturation gradients show a change of the CIELCh color 39, 2.093, 55.099 by changing the saturation by 10% instead.

Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.39, 2.093, 55.099The Color 39, 2.093, 55.099.100, 2.093, 55.099The Color 100, 2.093, 55.099.99, 2.093, 55.099The Color 99, 2.093, 55.099.89, 2.093, 55.099The Color 89, 2.093, 55.099.79, 2.093, 55.099The Color 79, 2.093, 55.099.69, 2.093, 55.099The Color 69, 2.093, 55.099.59, 2.093, 55.099The Color 59, 2.093, 55.099.49, 2.093, 55.099The Color 49, 2.093, 55.099.39, 2.093, 55.099The Color 39, 2.093, 55.099.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]39, 2.093, 55.099The Color 39, 2.093, 55.099.0, 2.093, 55.099The Color 0, 2.093, 55.099.9, 2.093, 55.099The Color 9, 2.093, 55.099.19, 2.093, 55.099The Color 19, 2.093, 55.099.29, 2.093, 55.099The Color 29, 2.093, 55.099.39, 2.093, 55.099The Color 39, 2.093, 55.099.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.39, 2.093, 55.099The Color 39, 2.093, 55.099.22, 40.697, 49.754The Color 22, 40.697, 49.754.24, 36.724, 51.031The Color 24, 36.724, 51.031.25, 31.866, 51.515The Color 25, 31.866, 51.515.27, 26.929, 51.866The Color 27, 26.929, 51.866.29, 22.148, 52.253The Color 29, 22.148, 52.253.31, 17.607, 52.713The Color 31, 17.607, 52.713.33, 13.335, 53.250The Color 33, 13.335, 53.250.35, 9.334, 53.856The Color 35, 9.334, 53.856.37, 5.594, 54.507The Color 37, 5.594, 54.507.39, 2.093, 55.099The Color 39, 2.093, 55.099.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]39, 2.093, 55.099The Color 39, 2.093, 55.099.59, 21.978, 241.927The Color 59, 21.978, 241.927.57, 19.761, 241.244The Color 57, 19.761, 241.244.54, 17.460, 240.540The Color 54, 17.460, 240.540.52, 15.066, 239.818The Color 52, 15.066, 239.818.50, 12.566, 239.079The Color 50, 12.566, 239.079.48, 9.945, 238.330The Color 48, 9.945, 238.330.46, 7.187, 237.578The Color 46, 7.187, 237.578.43, 4.276, 236.840The Color 43, 4.276, 236.840.41, 1.189, 236.253The Color 41, 1.189, 236.253.39, 2.093, 55.099The Color 39, 2.093, 55.099.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

ComplementaryThe complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.39, 2.093, 55.099The Color 39, 2.093, 55.099.39, 2.038, 236.373The Color 39, 2.038, 236.373.39, 2.093, 55.099The Color 39, 2.093, 55.099.Complementary

🖌️ View as Color Bucket

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

RectangleThe rectangle color scheme consists of four colors that form a rectangle on the color wheel.39, 2.093, 55.099The Color 39, 2.093, 55.099.39, 2.093, 285.099The Color 39, 2.093, 285.099.39, 2.093, 235.099The Color 39, 2.093, 235.099.39, 2.093, 105.099The Color 39, 2.093, 105.099.39, 2.093, 55.099The Color 39, 2.093, 55.099.Rectangle

🖌️ View as Color Bucket

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.39, 2.093, 55.136The Color 39, 2.093, 55.136.26, 0.004, 296.813The Color 26, 0.004, 296.813.77, 0.009, 296.813The Color 77, 0.009, 296.813.26, 0.452, 55.132The Color 26, 0.452, 55.132.39, 3.543, 336.017The Color 39, 3.543, 336.017.51, 0.803, 55.162The Color 51, 0.803, 55.162.39, 2.093, 55.136The Color 39, 2.093, 55.136.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #5F5B59 of the current color.

#5F5B59

Previews

White Background

 

This preview shows how the CIELCh color 39, 2.093, 55.099 looks on a white background.

The color contrast ratio for these colors is 6.72, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the CIELCh color 39, 2.093, 55.099 looks on a black background.

The color contrast ratio for these colors is 3.13, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

CIELCh 39, 2.093, 55.099 Background

 

This preview shows how black text looks on a background with the CIELCh color 39, 2.093, 55.099.

 

This preview shows how white text looks on a background with the CIELCh color 39, 2.093, 55.099.

Color Blindness Simulation


Dichromacy

Original Color
39, 2.093, 55.099
Protanopia
39, 1.760, 63.250
Deuteranopia
39, 5.638, 13.954
Tritanopia
39, 4.988, 320.776

Trichromacy

Original Color
39, 2.093, 55.099
Protanomaly
39, 1.760, 63.250
Deuteranomaly
39, 3.862, 19.855
Tritanomaly
39, 3.536, 336.013

Monochromacy

Original Color
39, 2.093, 55.099
Achromatopsia
39, 0.006, 296.813
Achromatomaly
39, 0.735, 74.893

CSS Examples


The CSS property to change the color of the text to CIELCh 39, 2.093, 55.099 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(95, 91, 89) }.

This example shows how text in the color rgb(95, 91, 89) looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px rgb(95, 91, 89) }.

Here you see how black text with a 4 pixel rgb(95, 91, 89) colored shadow looks like.

Border

This example shows the color as border, it can be applied via the CSS property "border" or "border-color".

The CSS property to change the border of an element to CIELCh 39, 2.093, 55.099 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid rgb(95, 91, 89) }.

If only the border color should be changed .border{ border-color:rgb(95, 91, 89) } can be used.

Here you see how a box with a 4 pixel rgb(95, 91, 89) colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px rgb(95, 91, 89); -webkit-box-shadow:4px 4px 4px 4px rgb(95, 91, 89); box-shadow:4px 4px 4px 4px rgb(95, 91, 89) }.

Background

The CSS property to change the background color of an element to CIELCh 39, 2.093, 55.099 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(95, 91, 89) }.

If only the background color should be changed .background{ background-color:rgb(95, 91, 89) } can be used.

This example shows the color as background, it is applied via the CSS property "background".

To optimize and compress your CSS code, you can use our online CSS compressor and optimizer based on csstidy. If you want to create a linear gradient as background or border, check our CSS Gradient Generator.

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "5F5B59", into the input field and click on convert. The result will be in the section Color Conversions, and the following sections will provide you with further details on the color.

Some color formats use the same notation, and the conversion will guess the composition of the search query. As an example, if you try to convert the string "20°, 6%, 37%" it could be an HSV or HSL color, the conversion will assume HSL in this case.

As this could lead to wrong conversions, you can define which format you are passing by wrapping your color string in brackets with the format in front. The search string "HSV(20°, 6%, 37%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(39.00, 1.20, 1.72)", "CIELCH(39, 2.093, 55.099)", "YXY(10.6589, 0.3221, 0.3338)" and "CMYK(0.00, 0.04, 0.06, 0.63)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.