Converting Colors

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

Conversions

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

FormatColor
HSL97°, 44%, 85%
CIELCh90, 19.243, 132.445
Yxy76.3984, 0.3198, 0.3668
Android (android.graphics.Color)4292143559 (0xFFD4E9C7)
YUV222.8450, -11.7556, -9.5111

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


Details

The YUV color 222.8450, -11.7556, -9.5111 is a light color, and the websafe version is hex FFFFCC. A complement of this color would be 209.1550, 11.7556, 9.5111, and the grayscale version is 223.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 255.0000, 0.0000, 0.0000, and 167.3720, -11.0294, -9.0962 is the 20% darker color. If you saturate the color by 10%, you get 216.0370, -19.7382, -15.8184, and if you desaturate by 10%, it is 229.6530, -3.7729, -3.2037.

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 YUV color 222.8450, -11.7556, -9.5111 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%.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.247.3230, -10.0192, -6.4223The Color 247.3230, -10.0192, -6.4223.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.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%.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.23.9810, -11.3296, -6.1223The Color 23.9810, -11.3296, -6.1223.44.9530, -8.8508, -7.8518The Color 44.9530, -8.8508, -7.8518.67.4260, -9.5770, -8.2666The Color 67.4260, -9.5770, -8.2666.91.0130, -9.8664, -8.7814The Color 91.0130, -9.8664, -8.7814.115.8990, -10.3032, -8.6814The Color 115.8990, -10.3032, -8.6814.141.3720, -11.0294, -9.0962The Color 141.3720, -11.0294, -9.0962.167.3720, -11.0294, -9.0962The Color 167.3720, -11.0294, -9.0962.194.9590, -11.3188, -9.6110The Color 194.9590, -11.3188, -9.6110.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 222.8450, -11.7556, -9.5111 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.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.163.3820, -80.5473, -65.2330The Color 163.3820, -80.5473, -65.2330.167.2560, -76.0482, -61.6145The Color 167.2560, -76.0482, -61.6145.174.0640, -68.0656, -55.3071The Color 174.0640, -68.0656, -55.3071.181.1710, -60.2303, -48.3850The Color 181.1710, -60.2303, -48.3850.188.0930, -51.8108, -42.1776The Color 188.0930, -51.8108, -42.1776.194.9010, -43.8282, -35.8702The Color 194.9010, -43.8282, -35.8702.202.0080, -35.9929, -28.9480The Color 202.0080, -35.9929, -28.9480.208.8160, -28.0103, -22.6406The Color 208.8160, -28.0103, -22.6406.216.0370, -19.7382, -15.8184The Color 216.0370, -19.7382, -15.8184.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.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.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.242.0860, 6.3666, 11.3256The Color 242.0860, 6.3666, 11.3256.236.8740, 4.4991, 3.6185The Color 236.8740, 4.4991, 3.6185.229.6530, -3.7729, -3.2037The Color 229.6530, -3.7729, -3.2037.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.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.225.2770, -16.8986, 6.7731The Color 225.2770, -16.8986, 6.7731.220.4500, -2.6868, -24.9506The Color 220.4500, -2.6868, -24.9506.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.225.2770, -16.8986, 6.7731The Color 225.2770, -16.8986, 6.7731.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.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.226.8290, -3.8597, 24.7060The Color 226.8290, -3.8597, 24.7060.222.6730, 15.9372, -25.1462The Color 222.6730, 15.9372, -25.1462.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.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.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.209.1550, 11.7556, 9.5111The Color 209.1550, 11.7556, 9.5111.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.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.229.5820, 4.1501, 22.2916The Color 229.5820, 4.1501, 22.2916.225.7290, 14.4306, -8.5323The Color 225.7290, 14.4306, -8.5323.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.229.5820, 4.1501, 22.2916The Color 229.5820, 4.1501, 22.2916.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.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.226.0650, -11.8640, 25.3760The Color 226.0650, -11.8640, 25.3760.228.9700, 12.3398, 8.7963The Color 228.9700, 12.3398, 8.7963.220.9660, 14.8068, -35.9272The Color 220.9660, 14.8068, -35.9272.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.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.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.227.6270, -0.8021, 24.0061The Color 227.6270, -0.8021, 24.0061.228.9700, 12.3398, 8.7963The Color 228.9700, 12.3398, 8.7963.219.7140, 3.5920, -32.1982The Color 219.7140, 3.5920, -32.1982.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.128.0000, 0.0000, 0.0000The Color 128.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.126.0060, -2.4680, -1.7593The Color 126.0060, -2.4680, -1.7593.221.4930, -11.0890, 10.0916The Color 221.4930, -11.0890, 10.0916.252.0660, -3.4835, -2.6889The Color 252.0660, -3.4835, -2.6889.222.8450, -11.7556, -9.5111The Color 222.8450, -11.7556, -9.5111.Sweetspot

SVG Images

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

#D4E9C7

Previews

White Background

This preview shows how the YUV color 222.8450, -11.7556, -9.5111 looks on a white background.

The color contrast ratio for these colors is 1.29, 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 YUV color 222.8450, -11.7556, -9.5111 looks on a black background.

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

YUV 222.8450, -11.7556, -9.5111 Background

This preview shows how black text looks on a background with the YUV color 222.8450, -11.7556, -9.5111.

This preview shows how white text looks on a background with the YUV color 222.8450, -11.7556, -9.5111.


CSS Examples


The CSS property to change the color of the text to YUV 222.8450, -11.7556, -9.5111 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(212, 233, 199) }.

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

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

Here you see how black text with a 4 pixel rgb(212, 233, 199) 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 YUV 222.8450, -11.7556, -9.5111 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(212, 233, 199) }.

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

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

Background

The CSS property to change the background color of an element to YUV 222.8450, -11.7556, -9.5111 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(212, 233, 199) }.

If only the background color should be changed .background{ background-color:rgb(212, 233, 199) } 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, "D4E9C7", 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 "97°, 15%, 91%" 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(97°, 15%, 91%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(90.04, -12.99, 14.20)", "CIELCH(90, 19.243, 132.445)", "YXY(76.3984, 0.3198, 0.3668)" and "CMYK(0.09, 0.00, 0.15, 0.09)".