Converting Colors

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

Conversions

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

FormatColor
HSL41°, 12%, 49%
CIELCh55, 12.112, 89.857
Yxy22.9298, 0.3461, 0.3640
Android (android.graphics.Color)4287398767 (0xFF8C836F)
YUV131.4110, -10.0626, 7.5326

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


Details

The CIELCh color 55, 12.112, 89.857 is a dark color, and the websafe version is hex 999999. A complement of this color would be 50, 12.107, 275.296, and the grayscale version is 55, 0.007, 296.813.

A 20% lighter version of the original color is 75, 11.936, 89.975, and 35, 12.367, 90.496 is the 20% darker color. If you saturate the color by 10%, you get 53, 18.057, 88.594, and if you desaturate by 10%, it is 57, 6.265, 91.089.

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 CIELCh color 55, 12.112, 89.857 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%.55, 12.112, 89.857The Color 55, 12.112, 89.857.100, 12.112, 89.857The Color 100, 12.112, 89.857.95, 12.112, 89.857The Color 95, 12.112, 89.857.85, 12.112, 89.857The Color 85, 12.112, 89.857.75, 12.112, 89.857The Color 75, 12.112, 89.857.65, 12.112, 89.857The Color 65, 12.112, 89.857.55, 12.112, 89.857The Color 55, 12.112, 89.857.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%.55, 12.112, 89.857The Color 55, 12.112, 89.857.0, 12.112, 89.857The Color 0, 12.112, 89.857.5, 12.112, 89.857The Color 5, 12.112, 89.857.15, 12.112, 89.857The Color 15, 12.112, 89.857.25, 12.112, 89.857The Color 25, 12.112, 89.857.35, 12.112, 89.857The Color 35, 12.112, 89.857.45, 12.112, 89.857The Color 45, 12.112, 89.857.55, 12.112, 89.857The Color 55, 12.112, 89.857.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the CIELCh color 55, 12.112, 89.857 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.55, 12.112, 89.857The Color 55, 12.112, 89.857.44, 52.992, 77.853The Color 44, 52.992, 77.853.45, 50.334, 79.640The Color 45, 50.334, 79.640.46, 46.552, 81.475The Color 46, 46.552, 81.475.48, 41.607, 83.073The Color 48, 41.607, 83.073.49, 36.003, 84.541The Color 49, 36.003, 84.541.51, 30.088, 85.936The Color 51, 30.088, 85.936.52, 24.068, 87.285The Color 52, 24.068, 87.285.53, 18.057, 88.594The Color 53, 18.057, 88.594.55, 12.112, 89.857The Color 55, 12.112, 89.857.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.55, 12.112, 89.857The Color 55, 12.112, 89.857.70, 36.941, 279.336The Color 70, 36.941, 279.336.68, 31.839, 278.481The Color 68, 31.839, 278.481.67, 26.664, 277.579The Color 67, 26.664, 277.579.65, 21.410, 276.628The Color 65, 21.410, 276.628.63, 16.071, 275.628The Color 63, 16.071, 275.628.61, 10.640, 274.581The Color 61, 10.640, 274.581.60, 5.111, 273.497The Color 60, 5.111, 273.497.58, 0.523, 91.974The Color 58, 0.523, 91.974.57, 6.265, 91.089The Color 57, 6.265, 91.089.55, 12.112, 89.857The Color 55, 12.112, 89.857.Saturation Gradient

Harmonies

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.55, 12.112, 89.857The Color 55, 12.112, 89.857.50, 12.107, 275.296The Color 50, 12.107, 275.296.55, 12.112, 89.857The Color 55, 12.112, 89.857.Complementary

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.55, 12.112, 89.857The Color 55, 12.112, 89.857.55, 12.112, 319.857The Color 55, 12.112, 319.857.55, 12.112, 269.857The Color 55, 12.112, 269.857.55, 12.112, 139.857The Color 55, 12.112, 139.857.55, 12.112, 89.857The Color 55, 12.112, 89.857.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.55, 12.113, 89.865The Color 55, 12.113, 89.865.39, 0.006, 296.813The Color 39, 0.006, 296.813.88, 0.010, 296.813The Color 88, 0.010, 296.813.38, 2.819, 91.584The Color 38, 2.819, 91.584.50, 13.286, 355.722The Color 50, 13.286, 355.722.73, 4.214, 91.646The Color 73, 4.214, 91.646.55, 12.113, 89.865The Color 55, 12.113, 89.865.Sweetspot

SVG Images

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

#8C836F

Previews

White Background

This preview shows how the CIELCh color 55, 12.112, 89.857 looks on a white background.

The color contrast ratio for these colors is 3.76, 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 CIELCh color 55, 12.112, 89.857 looks on a black background.

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

CIELCh 55, 12.112, 89.857 Background

This preview shows how black text looks on a background with the CIELCh color 55, 12.112, 89.857.

This preview shows how white text looks on a background with the CIELCh color 55, 12.112, 89.857.


CSS Examples


The CSS property to change the color of the text to CIELCh 55, 12.112, 89.857 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(140, 131, 111) }.

This example shows how text in the color rgb(140, 131, 111) looks like.

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

Here you see how black text with a 4 pixel rgb(140, 131, 111) 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 CIELCh 55, 12.112, 89.857 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(140, 131, 111) }.

If only the border color should be changed .border{ border-color:rgb(140, 131, 111) } can be used.

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

Background

The CSS property to change the background color of an element to CIELCh 55, 12.112, 89.857 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(140, 131, 111) }.

If only the background color should be changed .background{ background-color:rgb(140, 131, 111) } 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, "8C836F", 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 "41°, 21%, 55%" 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(41°, 21%, 55%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(55.00, 0.03, 12.11)", "CIELCH(55, 12.112, 89.857)", "YXY(22.9298, 0.3461, 0.3640)" and "CMYK(0.00, 0.07, 0.21, 0.45)".