Converting Colors

Conversions

FormatColor
HSL142°, 73%, 81%
CIELCh90, 35.003, 154.334
Yxy76.0358, 0.2942, 0.3837
Android (android.graphics.Color)4289393348 (0xFFAAF2C4)
YUV215.2280, -9.4794, -39.6650

Get Conversions and Harmonies as JSON or XML.


Details

The Hex color AAF2C4 is a light color, and the websafe version is hex CCFFCC. A complement of this color would be F2AAD8, and the grayscale version is D7D7D7.

A 20% lighter version of the original color is E3FFFD, and 74BA8E is the 20% darker color. If you saturate the color by 10%, you get 92F2B5, and if you desaturate by 10%, it is C2F2D3.

Distribution

67%95%77%Red, Green, Blue67%87%95%Red, Yellow, Blue30%0%19%5%Cyan, Magenta, Yellow and Black33%5%23%Cyan, Magenta, Yellow

Brightness Gradient

These gradients show how the Hex color AAF2C4 changes by changing the brightness by 10 percent. The first row shows a shift by +10% for each color and the second row -10%.

AAF2C4C6FFE0E3FFFDFFFFFF
AAF2C48FD5A974BA8E599E753F845C246A4401522E003A18002500000000

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Hex color AAF2C4 by changing the saturation by 10% instead.

AAF2C492F2B57AF2A561F29649F28631F27719F26701F25800F257
AAF2C4C2F2D3DAF2E3F3F2F2FFF2FF

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

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.

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

Sweetspot

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

AAF2C4E8FFF0D9F2AA718077000000808080

SVG Images

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

#AAF2C4

Previews

White Background

This preview shows how the Hex color AAF2C4 looks on a white background. The color contrast ratio for these colors is 1.30, 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 Hex color AAF2C4 looks on a black background. The color contrast ratio for these colors is 16.21, 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/.

Hex AAF2C4 Background

This preview shows how black text looks on a background with the Hex color AAF2C4.

This preview shows how white text looks on a background with the Hex color AAF2C4.


CSS Examples

The CSS property to change the color of the text to Hex AAF2C4 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:#AAF2C4 }.

This example shows how text in the color #AAF2C4 looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px #AAF2C4 }.

Here you see how black text with a 4 pixel #AAF2C4 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 Hex AAF2C4 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid #AAF2C4 }.

If only the border color should be changed .border{ border-color:#AAF2C4 } can be used.

Here you see how a box with a 4 pixel #AAF2C4 colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px #AAF2C4; -webkit-box-shadow:4px 4px 4px 4px #AAF2C4; box-shadow:4px 4px 4px 4px #AAF2C4 }.

Background

The CSS property to change the background color of an element to Hex AAF2C4 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:#AAF2C4 }.

If only the background color should be changed .background{ background-color:#AAF2C4 } 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.


About Converting Colors

Converting Colors allows you to convert between 15 different color formats (hex, rgb, rgb percent, cmy, cmyk, hsv, hsl, cielab, cielch, xyz, yxy, ryb, android, decimal, yuv).

To convert, paste a string in one of these color formats, for example, "AAF2C4", 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 "142°, 30%, 95%" 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(142°, 30%, 95%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(89.88, -31.55, 15.16)", "CIELCH(90, 35.003, 154.334)", "YXY(76.0358, 0.2942, 0.3837)" and "CMYK(0.30, 0.00, 0.19, 0.05)".

Follow Converting Colors on Twitter and check out my UWP apps and other tools.