Converting Colors

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

Conversions

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

FormatColor
HSL180°, 22%, 59%
CIELCh68, 16.023, 198.103
Yxy37.9173, 0.2748, 0.3289
Android (android.graphics.Color)4286623406 (0xFF80AEAE)
YUV160.2460, 6.7807, -28.2797

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


Details

The XYZ color 31.6781, 37.9173, 45.6936 is a light color, and the websafe version is hex 669999. A complement of this color would be 29.0723, 25.9965, 23.9090, and the grayscale version is 33.5067, 35.2516, 38.3890.

A 20% lighter version of the original color is 61.7311, 72.1959, 84.8104, and 13.5330, 16.9020, 20.9615 is the 20% darker color. If you saturate the color by 10%, you get 29.2823, 36.6832, 45.5819, and if you desaturate by 10%, it is 34.5250, 39.3859, 45.8281.

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 31.6781, 37.9173, 45.6936 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%.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.301.4217, 337.2651, 385.8172The Color 301.4217, 337.2651, 385.8172.251.4151, 282.3818, 323.9991The Color 251.4151, 282.3818, 323.9991.207.2698, 233.8011, 269.1643The Color 207.2698, 233.8011, 269.1643.168.6204, 191.1385, 220.8941The Color 168.6204, 191.1385, 220.8941.135.1015, 154.0096, 178.7701The Color 135.1015, 154.0096, 178.7701.106.3479, 122.0300, 142.3738The Color 106.3479, 122.0300, 142.3738.81.9940, 94.8154, 111.2865The Color 81.9940, 94.8154, 111.2865.61.6747, 71.9814, 85.0897The Color 61.6747, 71.9814, 85.0897.45.0245, 53.1435, 63.3649The Color 45.0245, 53.1435, 63.3649.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.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%.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.1021The Color 0.0000, 0.0000, 0.1021.0.4658, 0.8812, 1.3499The Color 0.4658, 0.8812, 1.3499.1.7152, 2.5091, 3.4898The Color 1.7152, 2.5091, 3.4898.4.0231, 5.4424, 7.1720The Color 4.0231, 5.4424, 7.1720.7.8079, 10.0654, 12.8149The Color 7.8079, 10.0654, 12.8149.13.4352, 16.7627, 20.8371The Color 13.4352, 16.7627, 20.8371.21.2701, 25.9185, 31.6572The Color 21.2701, 25.9185, 31.6572.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 31.6781, 37.9173, 45.6936 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.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.22.7762, 33.3293, 45.2748The Color 22.7762, 33.3293, 45.2748.22.8539, 33.3693, 45.2785The Color 22.8539, 33.3693, 45.2785.23.1436, 33.5186, 45.2925The Color 23.1436, 33.5186, 45.2925.23.6909, 33.8008, 45.3185The Color 23.6909, 33.8008, 45.3185.24.5448, 34.2410, 45.3589The Color 24.5448, 34.2410, 45.3589.25.7413, 34.8578, 45.4153The Color 25.7413, 34.8578, 45.4153.27.3113, 35.6671, 45.4892The Color 27.3113, 35.6671, 45.4892.29.2823, 36.6832, 45.5819The Color 29.2823, 36.6832, 45.5819.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.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.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.64.0176, 54.5898, 47.2116The Color 64.0176, 54.5898, 47.2116.64.0175, 54.5897, 47.2112The Color 64.0175, 54.5897, 47.2112.62.1317, 53.6176, 47.1225The Color 62.1317, 53.6176, 47.1225.56.1873, 50.5532, 46.8439The Color 56.1873, 50.5532, 46.8439.50.8026, 47.7773, 46.5915The Color 50.8026, 47.7773, 46.5915.45.9614, 45.2815, 46.3645The Color 45.9614, 45.2815, 46.3645.41.6468, 43.0573, 46.1622The Color 41.6468, 43.0573, 46.1622.37.8409, 41.0953, 45.9837The Color 37.8409, 41.0953, 45.9837.34.5250, 39.3859, 45.8281The Color 34.5250, 39.3859, 45.8281.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.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.31.5552, 37.9173, 38.5233The Color 31.5552, 37.9173, 38.5233.32.9362, 37.9173, 52.3539The Color 32.9362, 37.9173, 52.3539.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.31.5552, 37.9173, 38.5233The Color 31.5552, 37.9173, 38.5233.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.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.37.0351, 37.9173, 29.2711The Color 37.0351, 37.9173, 29.2711.39.7211, 37.9173, 51.1338The Color 39.7211, 37.9173, 51.1338.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.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.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.29.0723, 25.9965, 23.9090The Color 29.0723, 25.9965, 23.9090.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.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.39.3314, 37.9173, 31.8986The Color 39.3314, 37.9173, 31.8986.40.9292, 37.9173, 44.1766The Color 40.9292, 37.9173, 44.1766.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.39.3314, 37.9173, 31.8986The Color 39.3314, 37.9173, 31.8986.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.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.34.5722, 37.9173, 29.5776The Color 34.5722, 37.9173, 29.5776.40.7834, 37.9173, 37.1704The Color 40.7834, 37.9173, 37.1704.37.5473, 37.9173, 55.7352The Color 37.5473, 37.9173, 55.7352.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.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.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.37.8541, 37.9173, 29.8269The Color 37.8541, 37.9173, 29.8269.40.7834, 37.9173, 37.1704The Color 40.7834, 37.9173, 37.1704.34.2834, 37.9173, 55.3569The Color 34.2834, 37.9173, 55.3569.31.6781, 37.9173, 45.6936The Color 31.6781, 37.9173, 45.6936.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.31.6792, 37.9188, 45.6945The Color 31.6792, 37.9188, 45.6945.16.2198, 17.0645, 18.5832The Color 16.2198, 17.0645, 18.5832.84.5950, 89.0005, 96.9216The Color 84.5950, 89.0005, 96.9216.14.8075, 16.3364, 18.5170The Color 14.8075, 16.3364, 18.5170.28.0513, 36.4810, 25.9858The Color 28.0513, 36.4810, 25.9858.67.5498, 73.9793, 83.3554The Color 67.5498, 73.9793, 83.3554.31.6792, 37.9188, 45.6945The Color 31.6792, 37.9188, 45.6945.Sweetspot

SVG Images

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

#80AEAE

Previews

White Background

This preview shows how the XYZ color 31.6781, 37.9173, 45.6936 looks on a white background.

The color contrast ratio for these colors is 2.45, 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.6781, 37.9173, 45.6936 looks on a black background.

The color contrast ratio for these colors is 8.58, 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.6781, 37.9173, 45.6936 Background

This preview shows how black text looks on a background with the XYZ color 31.6781, 37.9173, 45.6936.

This preview shows how white text looks on a background with the XYZ color 31.6781, 37.9173, 45.6936.


CSS Examples


The CSS property to change the color of the text to XYZ 31.6781, 37.9173, 45.6936 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(128, 174, 174) }.

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

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

Here you see how black text with a 4 pixel rgb(128, 174, 174) 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.6781, 37.9173, 45.6936 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(128, 174, 174) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 31.6781, 37.9173, 45.6936 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(128, 174, 174) }.

If only the background color should be changed .background{ background-color:rgb(128, 174, 174) } 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, "80AEAE", 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 "180°, 26%, 68%" 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(180°, 26%, 68%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(67.96, -15.23, -4.98)", "CIELCH(68, 16.023, 198.103)", "YXY(37.9173, 0.2748, 0.3289)" and "CMYK(0.26, 0.00, 0.00, 0.32)".