Converting Colors


Conversions · Details · Harmonies · Images · Preview · 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
RYB156, 156, 156
Decimal10263708
CIELab64.19, 0.00, -0.01
CIELCh64, 0.008, 297.134
Yxy33.0344, 0.3127, 0.3290
Android (android.graphics.Color)4288453788 (0xFF9C9C9C)
YUV156.0000, 0.0000, 0.0000

Details

The XYZ color 31.3992, 33.0344, 35.9744 is a light color, and the websafe version is hex 999999. A complement of this color would be 31.4004, 33.0352, 35.9762, and the grayscale version is 31.4004, 33.0357, 35.9758.

A 20% lighter version of the original color is 61.2578, 64.4480, 70.1838, and 13.4271, 14.1263, 15.3836 is the 20% darker color. If you saturate the color by 10%, you get 27.5076, 31.1712, 29.3761, and if you desaturate by 10%, it is 35.8048, 35.1450, 43.4778.

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 XYZ color 31.3992, 33.0344, 35.9744 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 XYZ color 31.3992, 33.0344, 35.9744 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%.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.300.1674, 315.8047, 343.8827The Color 300.1674, 315.8047, 343.8827.250.3038, 263.3432, 286.7581The Color 250.3038, 263.3432, 286.7581.206.2928, 217.0392, 236.3383The Color 206.2928, 217.0392, 236.3383.167.7690, 176.5085, 192.2047The Color 167.7690, 176.5085, 192.2047.134.3672, 141.3665, 153.9387The Color 134.3672, 141.3665, 153.9387.105.7219, 111.2289, 121.1218The Color 105.7219, 111.2289, 121.1218.81.4679, 85.7113, 93.3355The Color 81.4679, 85.7113, 93.3355.61.2396, 64.4292, 70.1612The Color 61.2396, 64.4292, 70.1612.44.6718, 46.9984, 51.1803The Color 44.6718, 46.9984, 51.1803.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.4408, 0.4637, 0.5054The Color 0.4408, 0.4637, 0.5054.1.6755, 1.7626, 1.9200The Color 1.6755, 1.7626, 1.9200.3.9528, 4.1585, 4.5293The Color 3.9528, 4.1585, 4.5293.7.6985, 8.0993, 8.8209The Color 7.6985, 8.0993, 8.8209.13.2779, 13.9692, 15.2132The Color 13.2779, 13.9692, 15.2132.21.0563, 22.1528, 24.1249The Color 21.0563, 22.1528, 24.1249.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.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.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.12.2648, 23.8496, 4.4299The Color 12.2648, 23.8496, 4.4299.12.8624, 24.1393, 5.2852The Color 12.8624, 24.1393, 5.2852.13.7729, 24.5790, 6.6722The Color 13.7729, 24.5790, 6.6722.15.0315, 25.1852, 8.6579The Color 15.0315, 25.1852, 8.6579.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.18.7109, 26.9532, 14.6489The Color 18.7109, 26.9532, 14.6489.21.1834, 28.1396, 18.7505The Color 21.1834, 28.1396, 18.7505.24.1086, 29.5422, 23.6467The Color 24.1086, 29.5422, 23.6467.27.5076, 31.1712, 29.3761The Color 27.5076, 31.1712, 29.3761.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.71.1037, 52.1075, 100.9179The Color 71.1037, 52.1075, 100.9179.66.0996, 49.6397, 95.6248The Color 66.0996, 49.6397, 95.6248.58.8852, 46.1892, 83.1485The Color 58.8852, 46.1892, 83.1485.52.2636, 43.0217, 71.7232The Color 52.2636, 43.0217, 71.7232.46.2201, 40.1301, 61.3219The Color 46.2201, 40.1301, 61.3219.40.7391, 37.5071, 51.9165The Color 40.7391, 37.5071, 51.9165.35.8048, 35.1450, 43.4778The Color 35.8048, 35.1450, 43.4778.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.31.3981, 33.0344, 35.9751The Color 31.3981, 33.0344, 35.9751.31.4000, 33.0344, 35.9722The Color 31.4000, 33.0344, 35.9722.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.31.3981, 33.0344, 35.9751The Color 31.3981, 33.0344, 35.9751.Analogous

🖌️ View as Color Bucket

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.31.3960, 33.0344, 35.9685The Color 31.3960, 33.0344, 35.9685.31.3994, 33.0344, 35.9636The Color 31.3994, 33.0344, 35.9636.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.Triad

🖌️ View as Color Bucket

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.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.31.4004, 33.0352, 35.9762The Color 31.4004, 33.0352, 35.9762.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.Complementary

🖌️ View as Color Bucket

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.31.3964, 33.0344, 35.9655The Color 31.3964, 33.0344, 35.9655.31.3983, 33.0344, 35.9626The Color 31.3983, 33.0344, 35.9626.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.31.3964, 33.0344, 35.9655The Color 31.3964, 33.0344, 35.9655.Split Complementary

🖌️ View as Color Bucket

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.31.3963, 33.0344, 35.9717The Color 31.3963, 33.0344, 35.9717.31.3972, 33.0344, 35.9633The Color 31.3972, 33.0344, 35.9633.31.4001, 33.0344, 35.9660The Color 31.4001, 33.0344, 35.9660.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.Square

🖌️ 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.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.31.3961, 33.0344, 35.9675The Color 31.3961, 33.0344, 35.9675.31.3972, 33.0344, 35.9633The Color 31.3972, 33.0344, 35.9633.31.4003, 33.0344, 35.9702The Color 31.4003, 33.0344, 35.9702.31.3992, 33.0344, 35.9744The Color 31.3992, 33.0344, 35.9744.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.31.4001, 33.0358, 35.9751The Color 31.4001, 33.0358, 35.9751.74.8435, 78.7412, 85.7492The Color 74.8435, 78.7412, 85.7492.12.6291, 13.2868, 14.4694The Color 12.6291, 13.2868, 14.4694.31.4006, 33.0360, 35.9751The Color 31.4006, 33.0360, 35.9751.55.7959, 58.7016, 63.9261The Color 55.7959, 58.7016, 63.9261.31.4001, 33.0358, 35.9751The Color 31.4001, 33.0358, 35.9751.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #9C9C9C of the current color.

#9C9C9C

Previews

White Background

 

This preview shows how the XYZ color 31.3992, 33.0344, 35.9744 looks on a white background.

The color contrast ratio for these colors is 2.75, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the XYZ color 31.3992, 33.0344, 35.9744 looks on a black background.

The color contrast ratio for these colors is 7.65, which passes the AAA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for all text sizes. Details can be found at https://www.w3.org/TR/WCAG20/.

XYZ 31.3992, 33.0344, 35.9744 Background

 

This preview shows how black text looks on a background with the XYZ color 31.3992, 33.0344, 35.9744.

 

This preview shows how white text looks on a background with the XYZ color 31.3992, 33.0344, 35.9744.

CSS Examples


The CSS property to change the color of the text to XYZ 31.3992, 33.0344, 35.9744 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(156, 156, 156) }.

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

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

Here you see how black text with a 4 pixel rgb(156, 156, 156) 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 XYZ 31.3992, 33.0344, 35.9744 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(156, 156, 156) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 31.3992, 33.0344, 35.9744 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(156, 156, 156) }.

If only the background color should be changed .background{ background-color:rgb(156, 156, 156) } 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, "9C9C9C", 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 "117°, 0%, 61%" 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(117°, 0%, 61%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(64.19, 0.00, -0.01)", "CIELCH(64, 0.008, 297.134)", "YXY(33.0344, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.39)".


125x125 Fiverr Pro  Grammarly Logo    10% discount- Jump- start your career  Searchmetrics Essentials - try for free

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.