Converting Colors

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

Conversions

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

FormatColor
HSL15°, 5%, 50%
CIELCh53, 4.009, 45.303
Yxy20.6371, 0.3271, 0.3345
Android (android.graphics.Color)4286938233 (0xFF857C79)
YUV126.3490, -2.6371, 5.8329

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


Details

The CIELab color 52.55, 2.82, 2.85 is a dark color, and the websafe version is hex 666666. A complement of this color would be 53.54, -2.63, -2.76, and the grayscale version is 52.78, 0.00, -0.01.

A 20% lighter version of the original color is 72.57, 3.03, 2.80, and 32.60, 2.94, 2.39 is the 20% darker color. If you saturate the color by 10%, you get 49.48, 6.23, 6.23, and if you desaturate by 10%, it is 55.67, -0.30, -0.32.

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

Saturation Gradient

Similar to the brightness gradients but the following show a change of the CIELab color 52.55, 2.82, 2.85 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.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.29.73, 40.43, 41.47The Color 29.73, 40.43, 41.47.31.38, 36.41, 37.26The Color 31.38, 36.41, 37.26.33.35, 31.96, 32.42The Color 33.35, 31.96, 32.42.35.60, 27.33, 27.36The Color 35.60, 27.33, 27.36.38.08, 22.70, 22.49The Color 38.08, 22.70, 22.49.40.74, 18.20, 17.95The Color 40.74, 18.20, 17.95.43.55, 13.93, 13.74The Color 43.55, 13.93, 13.74.46.48, 9.93, 9.85The Color 46.48, 9.93, 9.85.49.48, 6.23, 6.23The Color 49.48, 6.23, 6.23.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.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.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.81.10, -17.58, -21.02The Color 81.10, -17.58, -21.02.77.92, -15.98, -18.75The Color 77.92, -15.98, -18.75.74.74, -14.25, -16.41The Color 74.74, -14.25, -16.41.71.55, -12.38, -13.99The Color 71.55, -12.38, -13.99.68.35, -10.36, -11.49The Color 68.35, -10.36, -11.49.65.16, -8.17, -8.88The Color 65.16, -8.17, -8.88.61.98, -5.77, -6.17The Color 61.98, -5.77, -6.17.58.81, -3.16, -3.32The Color 58.81, -3.16, -3.32.55.67, -0.30, -0.32The Color 55.67, -0.30, -0.32.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.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.52.55, 3.87, 1.06The Color 52.55, 3.87, 1.06.52.55, 1.02, 3.88The Color 52.55, 1.02, 3.88.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.52.55, 3.87, 1.06The Color 52.55, 3.87, 1.06.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.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.52.55, 1.06, -3.87The Color 52.55, 1.06, -3.87.52.55, -3.88, 1.02The Color 52.55, -3.88, 1.02.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.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.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.53.54, -2.63, -2.76The Color 53.54, -2.63, -2.76.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.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.52.55, -1.02, -3.88The Color 52.55, -1.02, -3.88.52.55, -3.87, -1.06The Color 52.55, -3.87, -1.06.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.52.55, -1.02, -3.88The Color 52.55, -1.02, -3.88.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.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.52.55, 2.85, -2.82The Color 52.55, 2.85, -2.82.52.55, -2.82, -2.85The Color 52.55, -2.82, -2.85.52.55, -2.85, 2.82The Color 52.55, -2.85, 2.82.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.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.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.52.55, 0.37, -3.99The Color 52.55, 0.37, -3.99.52.55, -2.82, -2.85The Color 52.55, -2.82, -2.85.52.55, -0.37, 3.99The Color 52.55, -0.37, 3.99.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.36.86, 0.00, -0.00The Color 36.86, 0.00, -0.00.85.70, 0.00, -0.01The Color 85.70, 0.00, -0.01.35.98, 0.87, 0.88The Color 35.98, 0.87, 0.88.51.98, 6.27, -3.21The Color 51.98, 6.27, -3.21.69.71, 1.15, 1.16The Color 69.71, 1.15, 1.16.52.55, 2.82, 2.85The Color 52.55, 2.82, 2.85.Sweetspot

SVG Images

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

#857C79

Previews

White Background

This preview shows how the CIELab color 52.55, 2.82, 2.85 looks on a white background.

The color contrast ratio for these colors is 4.07, 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 CIELab color 52.55, 2.82, 2.85 looks on a black background.

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

CIELab 52.55, 2.82, 2.85 Background

This preview shows how black text looks on a background with the CIELab color 52.55, 2.82, 2.85.

This preview shows how white text looks on a background with the CIELab color 52.55, 2.82, 2.85.


CSS Examples


The CSS property to change the color of the text to CIELab 52.55, 2.82, 2.85 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(133, 124, 121) }.

This example shows how text in the color rgb(133, 124, 121) looks like.

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

Here you see how black text with a 4 pixel rgb(133, 124, 121) 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 CIELab 52.55, 2.82, 2.85 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(133, 124, 121) }.

If only the border color should be changed .border{ border-color:rgb(133, 124, 121) } can be used.

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

Background

The CSS property to change the background color of an element to CIELab 52.55, 2.82, 2.85 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(133, 124, 121) }.

If only the background color should be changed .background{ background-color:rgb(133, 124, 121) } 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, "857C79", 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 "15°, 9%, 52%" 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(15°, 9%, 52%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(52.55, 2.82, 2.85)", "CIELCH(53, 4.009, 45.303)", "YXY(20.6371, 0.3271, 0.3345)" and "CMYK(0.00, 0.07, 0.09, 0.48)".