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 2
FormatColor
RYB139, 139, 139
Decimal9145227
CIELab58.00, 0.00, -0.01
CIELCh58, 0.007, 296.813
Yxy25.9610, 0.3127, 0.3290
Android (android.graphics.Color)4287335307 (0xFF8B8B8B)
YUV139.0000, 0.0000, 0.0000

Details

The CIELCh color 58, 0.007, 296.813 is a dark color, and the websafe version is hex 999999. A complement of this color would be 58, 0.009, 301.737, and the grayscale version is 58, 0.007, 296.813.

A 20% lighter version of the original color is 78, 0.009, 296.813, and 38, 0.005, 296.813 is the 20% darker color. If you saturate the color by 10%, you get 57, 9.186, 138.971, and if you desaturate by 10%, it is 59, 9.064, 319.789.

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 58, 0.007, 296.813 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 58, 0.007, 296.813 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%.58, 0.007, 296.813The Color 58, 0.007, 296.813.100, 0.007, 296.813The Color 100, 0.007, 296.813.98, 0.007, 296.813The Color 98, 0.007, 296.813.88, 0.007, 296.813The Color 88, 0.007, 296.813.78, 0.007, 296.813The Color 78, 0.007, 296.813.68, 0.007, 296.813The Color 68, 0.007, 296.813.58, 0.007, 296.813The Color 58, 0.007, 296.813.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]58, 0.007, 296.813The Color 58, 0.007, 296.813.0, 0.007, 296.813The Color 0, 0.007, 296.813.8, 0.007, 296.813The Color 8, 0.007, 296.813.18, 0.007, 296.813The Color 18, 0.007, 296.813.28, 0.007, 296.813The Color 28, 0.007, 296.813.38, 0.007, 296.813The Color 38, 0.007, 296.813.48, 0.007, 296.813The Color 48, 0.007, 296.813.58, 0.007, 296.813The Color 58, 0.007, 296.813.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.58, 0.007, 296.813The Color 58, 0.007, 296.813.51, 71.816, 134.656The Color 51, 71.816, 134.656.51, 67.223, 134.789The Color 51, 67.223, 134.789.51, 61.064, 135.219The Color 51, 61.064, 135.219.52, 53.704, 135.829The Color 52, 53.704, 135.829.53, 45.501, 136.513The Color 53, 45.501, 136.513.54, 36.748, 137.200The Color 54, 36.748, 137.200.54, 27.672, 137.848The Color 54, 27.672, 137.848.56, 18.442, 138.440The Color 56, 18.442, 138.440.57, 9.186, 138.971The Color 57, 9.186, 138.971.58, 0.007, 296.813The Color 58, 0.007, 296.813.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]58, 0.007, 296.813The Color 58, 0.007, 296.813.73, 69.631, 323.527The Color 73, 69.631, 323.527.71, 66.575, 321.367The Color 71, 66.575, 321.367.69, 59.041, 321.236The Color 69, 59.041, 321.236.67, 51.283, 321.081The Color 67, 51.283, 321.081.66, 43.296, 320.899The Color 66, 43.296, 320.899.64, 35.075, 320.685The Color 64, 35.075, 320.685.62, 26.623, 320.434The Color 62, 26.623, 320.434.61, 17.947, 320.139The Color 61, 17.947, 320.139.59, 9.064, 319.789The Color 59, 9.064, 319.789.58, 0.007, 296.813The Color 58, 0.007, 296.813.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.58, 0.007, 296.813The Color 58, 0.007, 296.813.58, 0.009, 301.737The Color 58, 0.009, 301.737.58, 0.007, 296.813The Color 58, 0.007, 296.813.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.58, 0.007, 296.813The Color 58, 0.007, 296.813.58, 0.007, 166.813The Color 58, 0.007, 166.813.58, 0.007, 116.813The Color 58, 0.007, 116.813.58, 0.007, 346.813The Color 58, 0.007, 346.813.58, 0.007, 296.813The Color 58, 0.007, 296.813.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.58, 0.006, 288.449The Color 58, 0.006, 288.449.88, 0.010, 296.813The Color 88, 0.010, 296.813.39, 0.006, 296.813The Color 39, 0.006, 296.813.58, 0.006, 300.629The Color 58, 0.006, 300.629.74, 0.009, 296.813The Color 74, 0.009, 296.813.58, 0.006, 288.449The Color 58, 0.006, 288.449.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #8B8B8B of the current color.

#8B8B8B

Previews

White Background

 

This preview shows how the CIELCh color 58, 0.007, 296.813 looks on a white background.

The color contrast ratio for these colors is 3.41, which passes the AA 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 58, 0.007, 296.813 looks on a black background.

The color contrast ratio for these colors is 6.16, 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/.

CIELCh 58, 0.007, 296.813 Background

 

This preview shows how black text looks on a background with the CIELCh color 58, 0.007, 296.813.

 

This preview shows how white text looks on a background with the CIELCh color 58, 0.007, 296.813.

Color Blindness Simulation


Dichromacy

Original Color
58, 0.007, 296.813
Protanopia
58, 1.177, 19.165
Deuteranopia
58, 7.316, 357.366
Tritanopia
58, 6.382, 301.209

Trichromacy

Original Color
58, 0.007, 296.813
Protanomaly
58, 0.784, 18.946
Deuteranomaly
58, 4.304, 356.490
Tritanomaly
58, 4.073, 301.532

Monochromacy

Original Color
58, 0.007, 296.813
Achromatopsia
58, 0.007, 296.813
Achromatomaly
58, 0.007, 296.813

CSS Examples


The CSS property to change the color of the text to CIELCh 58, 0.007, 296.813 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(139, 139, 139) }.

This example shows how text in the color rgb(139, 139, 139) looks like.

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

Here you see how black text with a 4 pixel rgb(139, 139, 139) 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 58, 0.007, 296.813 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(139, 139, 139) }.

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

Here you see how a box with a 4 pixel rgb(139, 139, 139) 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(139, 139, 139); -webkit-box-shadow:4px 4px 4px 4px rgb(139, 139, 139); box-shadow:4px 4px 4px 4px rgb(139, 139, 139) }.

Background

The CSS property to change the background color of an element to CIELCh 58, 0.007, 296.813 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(139, 139, 139) }.

If only the background color should be changed .background{ background-color:rgb(139, 139, 139) } 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, "8B8B8B", 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 "109°, 0%, 55%" 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(109°, 0%, 55%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(58.00, 0.00, -0.01)", "CIELCH(58, 0.007, 296.813)", "YXY(25.9610, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.45)".