Converting Colors

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

Conversions

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

FormatColor
HSL172°, 27%, 55%
CIELCh66, 21.471, 185.946
Yxy35.5011, 0.2692, 0.3413
Android (android.graphics.Color)4285508772 (0xFF6FACA4)
YUV152.8490, 5.4974, -36.7016

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


Details

The XYZ color 27.9976, 35.5011, 40.5047 is a dark color, and the websafe version is hex 669999. A complement of this color would be 26.0063, 21.4951, 20.2302, and the grayscale version is 30.1763, 31.7479, 34.5734.

A 20% lighter version of the original color is 56.0466, 68.6006, 77.3051, and 11.3251, 15.2933, 17.6842 is the 20% darker color. If you saturate the color by 10%, you get 25.8380, 34.4115, 39.3726, and if you desaturate by 10%, it is 30.5787, 36.8094, 41.6762.

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 27.9976, 35.5011, 40.5047 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%.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.284.5357, 326.7747, 363.8614The Color 284.5357, 326.7747, 363.8614.236.4705, 273.0688, 304.4789The Color 236.4705, 273.0688, 304.4789.194.1480, 225.5954, 251.9366The Color 194.1480, 225.5954, 251.9366.157.2029, 183.9700, 205.8157The Color 157.2029, 183.9700, 205.8157.125.2698, 147.8083, 165.6979The Color 125.2698, 147.8083, 165.6979.97.9834, 116.7259, 131.1645The Color 97.9834, 116.7259, 131.1645.74.9784, 90.3384, 101.7970The Color 74.9784, 90.3384, 101.7970.55.8893, 68.2613, 77.1769The Color 55.8893, 68.2613, 77.1769.40.3508, 50.1104, 56.8857The Color 40.3508, 50.1104, 56.8857.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.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%.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.1244, 0.6794, 0.8952The Color 0.1244, 0.6794, 0.8952.1.2230, 2.1264, 2.6054The Color 1.2230, 2.1264, 2.6054.3.1303, 4.7931, 5.7130The Color 3.1303, 4.7931, 5.7130.6.3960, 9.0795, 10.6382The Color 6.3960, 9.0795, 10.6382.11.3855, 15.3701, 17.7995The Color 11.3855, 15.3701, 17.7995.18.4643, 24.0491, 27.6155The Color 18.4643, 24.0491, 27.6155.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 27.9976, 35.5011, 40.5047 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.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.20.1970, 31.6215, 33.7770The Color 20.1970, 31.6215, 33.7770.20.3832, 31.7077, 34.2260The Color 20.3832, 31.7077, 34.2260.20.8707, 31.9382, 35.1917The Color 20.8707, 31.9382, 35.1917.21.6212, 32.3038, 36.1872The Color 21.6212, 32.3038, 36.1872.22.6773, 32.8266, 37.2148The Color 22.6773, 32.8266, 37.2148.24.0730, 33.5241, 38.2761The Color 24.0730, 33.5241, 38.2761.25.8380, 34.4115, 39.3726The Color 25.8380, 34.4115, 39.3726.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.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.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.64.5934, 54.1440, 52.3281The Color 64.5934, 54.1440, 52.3281.62.0667, 52.8680, 51.0123The Color 62.0667, 52.8680, 51.0123.56.0055, 49.7694, 49.5498The Color 56.0055, 49.7694, 49.5498.50.4926, 46.9531, 48.1317The Color 50.4926, 46.9531, 48.1317.45.5123, 44.4109, 46.7571The Color 45.5123, 44.4109, 46.7571.41.0485, 42.1346, 45.4251The Color 41.0485, 42.1346, 45.4251.37.0838, 40.1152, 44.1349The Color 37.0838, 40.1152, 44.1349.33.6003, 38.3434, 42.8856The Color 33.6003, 38.3434, 42.8856.30.5787, 36.8094, 41.6762The Color 30.5787, 36.8094, 41.6762.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.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.28.4415, 35.5011, 31.9221The Color 28.4415, 35.5011, 31.9221.29.0127, 35.5011, 49.9214The Color 29.0127, 35.5011, 49.9214.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.28.4415, 35.5011, 31.9221The Color 28.4415, 35.5011, 31.9221.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.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.36.3074, 35.5011, 24.7198The Color 36.3074, 35.5011, 24.7198.37.4763, 35.5011, 54.7070The Color 37.4763, 35.5011, 54.7070.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.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.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.26.0063, 21.4951, 20.2302The Color 26.0063, 21.4951, 20.2302.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.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.38.9608, 35.5011, 29.2251The Color 38.9608, 35.5011, 29.2251.39.6649, 35.5011, 46.2730The Color 39.6649, 35.5011, 46.2730.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.38.9608, 35.5011, 29.2251The Color 38.9608, 35.5011, 29.2251.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.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.33.1108, 35.5011, 23.6719The Color 33.1108, 35.5011, 23.6719.40.2245, 35.5011, 36.8618The Color 40.2245, 35.5011, 36.8618.34.3827, 35.5011, 58.9115The Color 34.3827, 35.5011, 58.9115.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.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.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.37.2985, 35.5011, 25.8411The Color 37.2985, 35.5011, 25.8411.40.2245, 35.5011, 36.8618The Color 40.2245, 35.5011, 36.8618.30.4204, 35.5011, 55.1278The Color 30.4204, 35.5011, 55.1278.27.9976, 35.5011, 40.5047The Color 27.9976, 35.5011, 40.5047.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.27.9986, 35.5025, 40.5055The Color 27.9986, 35.5025, 40.5055.15.4596, 16.2647, 17.7123The Color 15.4596, 16.2647, 17.7123.82.5889, 86.8899, 94.6231The Color 82.5889, 86.8899, 94.6231.13.6440, 15.3407, 17.0870The Color 13.6440, 15.3407, 17.0870.25.2429, 34.5233, 20.4336The Color 25.2429, 34.5233, 20.4336.63.5885, 70.9995, 78.9191The Color 63.5885, 70.9995, 78.9191.27.9986, 35.5025, 40.5055The Color 27.9986, 35.5025, 40.5055.Sweetspot

SVG Images

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

#6FACA4

Previews

White Background

This preview shows how the XYZ color 27.9976, 35.5011, 40.5047 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 27.9976, 35.5011, 40.5047 looks on a black background.

The color contrast ratio for these colors is 8.11, 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 27.9976, 35.5011, 40.5047 Background

This preview shows how black text looks on a background with the XYZ color 27.9976, 35.5011, 40.5047.

This preview shows how white text looks on a background with the XYZ color 27.9976, 35.5011, 40.5047.


CSS Examples


The CSS property to change the color of the text to XYZ 27.9976, 35.5011, 40.5047 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(111, 172, 164) }.

This example shows how text in the color rgb(111, 172, 164) looks like.

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

Here you see how black text with a 4 pixel rgb(111, 172, 164) 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 27.9976, 35.5011, 40.5047 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(111, 172, 164) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 27.9976, 35.5011, 40.5047 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(111, 172, 164) }.

If only the background color should be changed .background{ background-color:rgb(111, 172, 164) } 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, "6FACA4", 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 "172°, 35%, 67%" 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(172°, 35%, 67%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(66.14, -21.36, -2.22)", "CIELCH(66, 21.471, 185.946)", "YXY(35.5011, 0.2692, 0.3413)" and "CMYK(0.35, 0.00, 0.05, 0.33)".