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 1
FormatColor
Hex9B6D6C
RGB155, 109, 108
RGB Percent61%, 43%, 42%
CMY0.3934, 0.5744, 0.5755
CMYK0.00, 0.30, 0.30, 0.39
HSL0°, 19%, 52%
HSV0°, 30%, 61%
XYZ21.5924, 18.8610, 16.7553
Conversions Part 2
FormatColor
RYB155, 109, 108
Decimal10186092
CIELab50.52, 18.35, 7.52
CIELCh51, 19.827, 22.294
Yxy18.8610, 0.3774, 0.3297
Android (android.graphics.Color)4288376172 (0xFF9B6D6C)
YUV122.6400, -7.2175, 28.3797

Details

The XYZ color 21.5924, 18.8610, 16.7553 is a dark color, and the websafe version is hex 996666. A complement of this color would be 23.7190, 28.7928, 35.1732, and the grayscale version is 18.6103, 19.5795, 21.3221.

A 20% lighter version of the original color is 45.5812, 41.6946, 38.4464, and 7.9905, 6.4992, 5.2482 is the 20% darker color. If you saturate the color by 10%, you get 19.3490, 15.5802, 12.2896, and if you desaturate by 10%, it is 24.2691, 22.7744, 22.0870.

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 21.5924, 18.8610, 16.7553 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 21.5924, 18.8610, 16.7553 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%.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.253.0828, 245.6803, 245.7543The Color 253.0828, 245.6803, 245.7543.208.7363, 201.5366, 200.4162The Color 208.7363, 201.5366, 200.4162.169.8986, 163.0252, 161.0281The Color 169.8986, 163.0252, 161.0281.136.2044, 129.7617, 127.1716The Color 136.2044, 129.7617, 127.1716.107.2883, 101.3618, 98.4280The Color 107.2883, 101.3618, 98.4280.82.7850, 77.4410, 74.3788The Color 82.7850, 77.4410, 74.3788.62.3291, 57.6149, 54.6054The Color 62.3291, 57.6149, 54.6054.45.5553, 41.4991, 38.6894The Color 45.5553, 41.4991, 38.6894.32.0982, 28.7093, 26.2122The Color 32.0982, 28.7093, 26.2122.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5030, 0.0580, 0.0000The Color 0.5030, 0.0580, 0.0000.1.7757, 1.1955, 0.7427The Color 1.7757, 1.1955, 0.7427.4.1297, 3.1215, 2.3206The Color 4.1297, 3.1215, 2.3206.7.9735, 6.4515, 5.2280The Color 7.9735, 6.4515, 5.2280.13.6726, 11.5699, 9.9001The Color 13.6726, 11.5699, 9.9001.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.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.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.13.4654, 6.9577, 0.6333The Color 13.4654, 6.9577, 0.6333.13.7341, 7.3522, 1.1635The Color 13.7341, 7.3522, 1.1635.14.2089, 8.0512, 2.0945The Color 14.2089, 8.0512, 2.0945.14.9740, 9.1744, 3.6044The Color 14.9740, 9.1744, 3.6044.16.0657, 10.7744, 5.7664The Color 16.0657, 10.7744, 5.7664.17.5149, 12.8964, 8.6431The Color 17.5149, 12.8964, 8.6431.19.3490, 15.5802, 12.2896The Color 19.3490, 15.5802, 12.2896.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.63.5235, 80.1037, 100.4650The Color 63.5235, 80.1037, 100.4650.56.7250, 70.1786, 86.8792The Color 56.7250, 70.1786, 86.8792.50.4979, 61.0867, 74.4379The Color 50.4979, 61.0867, 74.4379.44.8276, 52.8068, 63.1117The Color 44.8276, 52.8068, 63.1117.39.6988, 45.3167, 52.8701The Color 39.6988, 45.3167, 52.8701.35.0956, 38.5933, 43.6811The Color 35.0956, 38.5933, 43.6811.31.0014, 32.6124, 35.5114The Color 31.0014, 32.6124, 35.5114.27.3988, 27.3484, 28.3257The Color 27.3988, 27.3484, 28.3257.24.2691, 22.7744, 22.0870The Color 24.2691, 22.7744, 22.0870.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.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.21.8703, 18.8610, 21.9978The Color 21.8703, 18.8610, 21.9978.20.2988, 18.8610, 13.2102The Color 20.2988, 18.8610, 13.2102.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.21.8703, 18.8610, 21.9978The Color 21.8703, 18.8610, 21.9978.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.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.17.4328, 18.8610, 33.0017The Color 17.4328, 18.8610, 33.0017.15.1427, 18.8610, 14.6871The Color 15.1427, 18.8610, 14.6871.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.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.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.23.7190, 28.7928, 35.1732The Color 23.7190, 28.7928, 35.1732.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.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.15.7472, 18.8610, 30.1674The Color 15.7472, 18.8610, 30.1674.14.4884, 18.8610, 19.1412The Color 14.4884, 18.8610, 19.1412.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.15.7472, 18.8610, 30.1674The Color 15.7472, 18.8610, 30.1674.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.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.19.3749, 18.8610, 32.0506The Color 19.3749, 18.8610, 32.0506.14.7015, 18.8610, 24.8475The Color 14.7015, 18.8610, 24.8475.16.5527, 18.8610, 12.1744The Color 16.5527, 18.8610, 12.1744.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.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.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.16.8195, 18.8610, 32.4446The Color 16.8195, 18.8610, 32.4446.14.7015, 18.8610, 24.8475The Color 14.7015, 18.8610, 24.8475.19.0817, 18.8610, 11.9698The Color 19.0817, 18.8610, 11.9698.21.5924, 18.8610, 16.7553The Color 21.5924, 18.8610, 16.7553.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.21.5929, 18.8619, 16.7557The Color 21.5929, 18.8619, 16.7557.12.6291, 13.2868, 14.4694The Color 12.6291, 13.2868, 14.4694.74.8435, 78.7412, 85.7492The Color 74.8435, 78.7412, 85.7492.11.0868, 11.0332, 11.3931The Color 11.0868, 11.0332, 11.3931.24.7308, 20.0664, 33.4355The Color 24.7308, 20.0664, 33.4355.49.8127, 49.9594, 51.9920The Color 49.8127, 49.9594, 51.9920.21.5929, 18.8619, 16.7557The Color 21.5929, 18.8619, 16.7557.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#9B6D6C

Previews

White Background

 

This preview shows how the XYZ color 21.5924, 18.8610, 16.7553 looks on a white background.

The color contrast ratio for these colors is 4.38, 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 XYZ color 21.5924, 18.8610, 16.7553 looks on a black background.

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

XYZ 21.5924, 18.8610, 16.7553 Background

 

This preview shows how black text looks on a background with the XYZ color 21.5924, 18.8610, 16.7553.

 

This preview shows how white text looks on a background with the XYZ color 21.5924, 18.8610, 16.7553.

CSS Examples


The CSS property to change the color of the text to XYZ 21.5924, 18.8610, 16.7553 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(155, 109, 108) }.

This example shows how text in the color rgb(155, 109, 108) looks like.

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

Here you see how black text with a 4 pixel rgb(155, 109, 108) 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 21.5924, 18.8610, 16.7553 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(155, 109, 108) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 21.5924, 18.8610, 16.7553 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(155, 109, 108) }.

If only the background color should be changed .background{ background-color:rgb(155, 109, 108) } 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, "9B6D6C", 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 "0°, 30%, 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(0°, 30%, 61%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(50.52, 18.35, 7.52)", "CIELCH(51, 19.827, 22.294)", "YXY(18.8610, 0.3774, 0.3297)" and "CMYK(0.00, 0.30, 0.30, 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.