Converting Colors

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

Conversions

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

FormatColor
HSL0°, 15%, 73%
CIELCh73, 8.030, 20.027
Yxy45.4909, 0.3315, 0.3291
Android (android.graphics.Color)4291080111 (0xFFC4AFAF)
YUV181.2790, -3.0955, 12.9103

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


Details

The Hex color C4AFAF is a light color, and the websafe version is hex CCCCCC. A complement of this color would be AFC4C4, and the grayscale version is B5B5B5.

A 20% lighter version of the original color is FDE7E6, and 8E7B7B is the 20% darker color. If you saturate the color by 10%, you get C49B9B, and if you desaturate by 10%, it is C4C3C3.

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 Hex color C4AFAF 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%.C4AFAFThe Color C4AFAF.FFFFFFThe Color FFFFFF.FDE7E6The Color FDE7E6.E0CACAThe Color E0CACA.C4AFAFThe Color C4AFAF.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%.C4AFAFThe Color C4AFAF.000000The Color 000000.1A0605The Color 1A0605.2D1E1EThe Color 2D1E1E.443333The Color 443333.5C4A4AThe Color 5C4A4A.746262The Color 746262.8E7B7BThe Color 8E7B7B.A99494The Color A99494.C4AFAFThe Color C4AFAF.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Hex color C4AFAF 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.C4AFAFThe Color C4AFAF.C40000The Color C40000.C41212The Color C41212.C42626The Color C42626.C43939The Color C43939.C44D4DThe Color C44D4D.C46161The Color C46161.C47474The Color C47474.C48888The Color C48888.C49B9BThe Color C49B9B.C4AFAFThe Color C4AFAF.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.C4AFAFThe Color C4AFAF.C4FFFFThe Color C4FFFF.C4FDFDThe Color C4FDFD.C4EAEAThe Color C4EAEA.C4D6D6The Color C4D6D6.C4C3C3The Color C4C3C3.C4AFAFThe Color C4AFAF.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.C2AFB7The Color C2AFB7.C2B0A9The Color C2B0A9.C4AFAFThe Color C4AFAF.C2AFB7The Color C2AFB7.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.C4AFAFThe Color C4AFAF.AAB5C2The Color AAB5C2.ACB7AAThe Color ACB7AA.C4AFAFThe Color C4AFAF.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.C4AFAFThe Color C4AFAF.AFC4C4The Color AFC4C4.C4AFAFThe Color C4AFAF.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.A3B7BFThe Color A3B7BF.A5B8B1The Color A5B8B1.C4AFAFThe Color C4AFAF.A3B7BFThe Color A3B7BF.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.C4AFAFThe Color C4AFAF.B2B3C1The Color B2B3C1.A2B8B8The Color A2B8B8.B5B5A6The Color B5B5A6.C4AFAFThe Color C4AFAF.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.C4AFAFThe Color C4AFAF.A7B6C1The Color A7B6C1.A2B8B8The Color A2B8B8.BFB2A6The Color BFB2A6.C4AFAFThe Color C4AFAF.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.C4AFAFThe Color C4AFAF.808080The Color 808080.000000The Color 000000.807A7AThe Color 807A7A.C4AFC4The Color C4AFC4.FFF7F7The Color FFF7F7.C4AFAFThe Color C4AFAF.Sweetspot

SVG Images

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

#C4AFAF

Previews

White Background

This preview shows how the Hex color C4AFAF looks on a white background.

The color contrast ratio for these colors is 2.08, 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 C4AFAF looks on a black background.

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

Hex C4AFAF Background

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

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


CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#C4AFAF } 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, "C4AFAF", 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 "0°, 11%, 77%" 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(0°, 11%, 77%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(73.21, 7.54, 2.75)", "CIELCH(73, 8.030, 20.027)", "YXY(45.4909, 0.3315, 0.3291)" and "CMYK(0.00, 0.11, 0.11, 0.23)".