Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL10°, 35%, 66%
CIELCh66, 21.341, 35.941
Yxy35.5496, 0.3753, 0.3423
Android (android.graphics.Color)4291270027 (0xFFC7958B)
YUV162.8100, -11.7383, 31.7386

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The XYZ color 38.9788, 35.5496, 29.3216 is a light color, and the websafe version is hex CC9999. A complement of this color would be 39.1702, 46.0017, 60.7866, and the grayscale version is 34.8131, 36.6261, 39.8859.

A 20% lighter version of the original color is 72.1104, 67.7776, 59.1509, and 17.6725, 15.3859, 11.4895 is the 20% darker color. If you saturate the color by 10%, you get 35.2107, 30.1361, 21.5214, and if you desaturate by 10%, it is 43.3867, 41.8189, 38.6411.

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 Gradient

These gradients show how the XYZ color 38.9788, 35.5496, 29.3216 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

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%.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.333.0091, 326.9876, 312.8376The Color 333.0091, 326.9876, 312.8376.279.4627, 273.2577, 259.3080The Color 279.4627, 273.2577, 259.3080.231.9879, 225.7617, 212.2619The Color 231.9879, 225.7617, 212.2619.190.2193, 184.1152, 171.2808The Color 190.2193, 184.1152, 171.2808.153.7916, 147.9338, 135.9462The Color 153.7916, 147.9338, 135.9462.122.3394, 116.8331, 105.8395The Color 122.3394, 116.8331, 105.8395.95.4974, 90.4288, 80.5423The Color 95.4974, 90.4288, 80.5423.72.9002, 68.3363, 59.6359The Color 72.9002, 68.3363, 59.6359.54.1825, 50.1714, 42.7019The Color 54.1825, 50.1714, 42.7019.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Brightness Gradient
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%.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0193, 0.0000, 0.0000The Color 0.0193, 0.0000, 0.0000.1.0930, 0.6835, 0.0000The Color 1.0930, 0.6835, 0.0000.2.8845, 2.1338, 1.0781The Color 2.8845, 2.1338, 1.0781.5.9980, 4.8059, 2.9675The Color 5.9980, 4.8059, 2.9675.10.7989, 9.0991, 6.3181The Color 10.7989, 9.0991, 6.3181.17.6524, 15.3978, 11.5482The Color 17.6524, 15.3978, 11.5482.26.9239, 24.0865, 19.0766The Color 26.9239, 24.0865, 19.0766.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 38.9788, 35.5496, 29.3216 by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.24.0751, 13.2253, 1.2838The Color 24.0751, 13.2253, 1.2838.24.0751, 13.2254, 1.2839The Color 24.0751, 13.2254, 1.2839.24.7814, 14.4375, 2.1373The Color 24.7814, 14.4375, 2.1373.25.8725, 16.2132, 3.7538The Color 25.8725, 16.2132, 3.7538.27.4181, 18.6203, 6.3785The Color 27.4181, 18.6203, 6.3785.29.4640, 21.7122, 10.1426The Color 29.4640, 21.7122, 10.1426.32.0496, 25.5364, 15.1576The Color 32.0496, 25.5364, 15.1576.35.2107, 30.1361, 21.5214The Color 35.2107, 30.1361, 21.5214.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.77.3366, 90.8684, 108.0710The Color 77.3366, 90.8684, 108.0710.75.3354, 86.8659, 107.4039The Color 75.3354, 86.8659, 107.4039.67.9296, 76.0817, 92.5194The Color 67.9296, 76.0817, 92.5194.60.7067, 66.0747, 76.4278The Color 60.7067, 66.0747, 76.4278.54.2246, 57.0486, 62.1261The Color 54.2246, 57.0486, 62.1261.48.4595, 48.9737, 49.5524The Color 48.4595, 48.9737, 49.5524.43.3867, 41.8189, 38.6411The Color 43.3867, 41.8189, 38.6411.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Saturation Gradient

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.40.2350, 35.5496, 36.9250The Color 40.2350, 35.5496, 36.9250.36.3404, 35.5496, 24.8315The Color 36.3404, 35.5496, 24.8315.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.40.2350, 35.5496, 36.9250The Color 40.2350, 35.5496, 36.9250.Analogous

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.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.34.4250, 35.5496, 58.8420The Color 34.4250, 35.5496, 58.8420.28.5130, 35.5496, 32.0055The Color 28.5130, 35.5496, 32.0055.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Triad

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.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.39.1702, 46.0017, 60.7866The Color 39.1702, 46.0017, 60.7866.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Complementary

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.3596, 35.5496, 56.9773The Color 31.3596, 35.5496, 56.9773.28.0708, 35.5496, 40.5464The Color 28.0708, 35.5496, 40.5464.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.31.3596, 35.5496, 56.9773The Color 31.3596, 35.5496, 56.9773.Split Complementary

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.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.37.5020, 35.5496, 54.6664The Color 37.5020, 35.5496, 54.6664.29.0813, 35.5496, 49.9088The Color 29.0813, 35.5496, 49.9088.30.3292, 35.5496, 26.2027The Color 30.3292, 35.5496, 26.2027.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Square

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.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.33.3584, 35.5496, 58.9082The Color 33.3584, 35.5496, 58.9082.29.0813, 35.5496, 49.9088The Color 29.0813, 35.5496, 49.9088.34.2230, 35.5496, 23.7499The Color 34.2230, 35.5496, 23.7499.38.9788, 35.5496, 29.3216The Color 38.9788, 35.5496, 29.3216.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.38.9797, 35.5513, 29.3223The Color 38.9797, 35.5513, 29.3223.20.3446, 21.4041, 23.3091The Color 20.3446, 21.4041, 23.3091.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.18.0584, 18.2013, 18.3248The Color 18.0584, 18.2013, 18.3248.41.9732, 34.3328, 52.5332The Color 41.9732, 34.3328, 52.5332.85.7726, 87.0090, 88.6549The Color 85.7726, 87.0090, 88.6549.38.9797, 35.5513, 29.3223The Color 38.9797, 35.5513, 29.3223.Sweetspot

SVG Images

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

#C7958B

Previews

White Background

This preview shows how the XYZ color 38.9788, 35.5496, 29.3216 looks on a white background.

The color contrast ratio for these colors is 2.59, 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 38.9788, 35.5496, 29.3216 looks on a black background.

The color contrast ratio for these colors is 8.10, 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 38.9788, 35.5496, 29.3216 Background

This preview shows how black text looks on a background with the XYZ color 38.9788, 35.5496, 29.3216.

This preview shows how white text looks on a background with the XYZ color 38.9788, 35.5496, 29.3216.


CSS Examples


The CSS property to change the color of the text to XYZ 38.9788, 35.5496, 29.3216 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(199, 149, 139) }.

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

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

Here you see how black text with a 4 pixel rgb(199, 149, 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 XYZ 38.9788, 35.5496, 29.3216 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(199, 149, 139) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 38.9788, 35.5496, 29.3216 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(199, 149, 139) }.

If only the background color should be changed .background{ background-color:rgb(199, 149, 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.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "C7958B", 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 "10°, 30%, 78%" 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(10°, 30%, 78%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(66.17, 17.28, 12.53)", "CIELCH(66, 21.341, 35.941)", "YXY(35.5496, 0.3753, 0.3423)" and "CMYK(0.00, 0.25, 0.30, 0.22)".