Converting Colors


Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 2
FormatColor
RYB205, 81, 86
Decimal13455702
CIELab51.31, 49.55, 22.89
CIELCh51, 54.579, 24.794
Yxy19.5359, 0.4939, 0.3238
Android (android.graphics.Color)4291645782 (0xFFCD5156)
YUV118.6460, -16.0945, 75.7325

Details

The Hex color CD5156 is a dark color, and the websafe version is hex CC6666. The color can be described as dark muted red. A complement of this color would be 51CDC8, and the grayscale version is 777777.

A 20% lighter version of the original color is FF8788, and 911729 is the 20% darker color. If you saturate the color by 10%, you get CD3C42, and if you desaturate by 10%, it is CD656A.

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 & Saturation Gradients

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

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

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%.CD5156The Color CD5156.FFFFFFThe Color FFFFFF.FFF9F5The Color FFF9F5.FFDBD9The Color FFDBD9.FFBFBDThe Color FFBFBD.FFA3A2The Color FFA3A2.FF8788The Color FF8788.EC6C6EThe Color EC6C6E.CD5156The Color CD5156.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]CD5156The Color CD5156.000000The Color 000000.190001The Color 190001.3C0002The Color 3C0002.570000The Color 570000.740015The Color 740015.911729The Color 911729.AF363FThe Color AF363F.CD5156The Color CD5156.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.CD5156The Color CD5156.CD0008The Color CD0008.CD131BThe Color CD131B.CD282FThe Color CD282F.CD3C42The Color CD3C42.CD5156The Color CD5156.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]CD5156The Color CD5156.CDFFFFThe Color CDFFFF.CDF5F3The Color CDF5F3.CDE0E0The Color CDE0E0.CDCCCCThe Color CDCCCC.CDB8B8The Color CDB8B8.CDA3A5The Color CDA3A5.CD8F91The Color CD8F91.CD7A7DThe Color CD7A7D.CD656AThe Color CD656A.CD5156The Color CD5156.Saturation Gradient

🖌️ View as Color Bucket

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.C94E84The Color C94E84.BB632DThe Color BB632D.CD5156The Color CD5156.C94E84The Color C94E84.Analogous

🖌️ View as Color Bucket

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.CD5156The Color CD5156.0082D7The Color 0082D7.2A8C41The Color 2A8C41.CD5156The Color CD5156.Triad

🖌️ View as Color Bucket

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.CD5156The Color CD5156.51CDC8The Color 51CDC8.CD5156The Color CD5156.Complementary

🖌️ View as Color Bucket

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.008CC6The Color 008CC6.009070The Color 009070.CD5156The Color CD5156.008CC6The Color 008CC6.Split Complementary

🖌️ View as Color Bucket

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.CD5156The Color CD5156.6B71CFThe Color 6B71CF.0090A0The Color 0090A0.6C831AThe Color 6C831A.CD5156The Color CD5156.Square

🖌️ View as Color Bucket

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.CD5156The Color CD5156.0086D4The Color 0086D4.0090A0The Color 0090A0.A56F17The Color A56F17.CD5156The Color CD5156.Rectangle

🖌️ View as Color Bucket

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.CD5156The Color CD5156.808080The Color 808080.000000The Color 000000.806365The Color 806365.C751CDThe Color C751CD.FFD1D3The Color FFD1D3.CD5156The Color CD5156.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#CD5156

Previews

White Background

 

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

The color contrast ratio for these colors is 4.28, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the Hex color CD5156 looks on a black background.

The color contrast ratio for these colors is 4.91, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Hex CD5156 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
CD5156
Protanopia
817A68
Deuteranopia
947550
Tritanopia
CD5156

Trichromacy

Original Color
CD5156
Protanomaly
9D6B61
Deuteranomaly
A96852
Tritanomaly
CD5156

Monochromacy

Original Color
CD5156
Achromatopsia
777777
Achromatomaly
96696B

CSS Examples


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

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

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

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

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

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

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

Background

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

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

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "CD5156", 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 "358°, 60%, 80%" 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(358°, 60%, 80%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(51.31, 49.55, 22.89)", "CIELCH(51, 54.579, 24.794)", "YXY(19.5359, 0.4939, 0.3238)" and "CMYK(0.00, 0.60, 0.58, 0.20)".