Converting Colors

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

Conversions

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

FormatColor
HSL0°, 8%, 47%
CIELCh48, 7.527, 20.258
Yxy16.7945, 0.3374, 0.3291
Android (android.graphics.Color)4286606958 (0xFF806E6E)
YUV115.3820, -2.6533, 11.0660

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


Details

The CIELCh color 48, 7.527, 20.258 is a dark color, and the websafe version is hex 666666. A complement of this color would be 52, 6.902, 198.746, and the grayscale version is 49, 0.006, 296.813.

A 20% lighter version of the original color is 68, 7.366, 20.005, and 28, 7.901, 16.153 is the 20% darker color. If you saturate the color by 10%, you get 44, 13.363, 21.149, and if you desaturate by 10%, it is 52, 2.101, 19.462.

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 48, 7.527, 20.258 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%.48, 7.527, 20.258The Color 48, 7.527, 20.258.100, 7.527, 20.258The Color 100, 7.527, 20.258.98, 7.527, 20.258The Color 98, 7.527, 20.258.88, 7.527, 20.258The Color 88, 7.527, 20.258.78, 7.527, 20.258The Color 78, 7.527, 20.258.68, 7.527, 20.258The Color 68, 7.527, 20.258.58, 7.527, 20.258The Color 58, 7.527, 20.258.48, 7.527, 20.258The Color 48, 7.527, 20.258.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%.48, 7.527, 20.258The Color 48, 7.527, 20.258.0, 7.527, 20.258The Color 0, 7.527, 20.258.8, 7.527, 20.258The Color 8, 7.527, 20.258.18, 7.527, 20.258The Color 18, 7.527, 20.258.28, 7.527, 20.258The Color 28, 7.527, 20.258.38, 7.527, 20.258The Color 38, 7.527, 20.258.48, 7.527, 20.258The Color 48, 7.527, 20.258.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the CIELCh color 48, 7.527, 20.258 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.48, 7.527, 20.258The Color 48, 7.527, 20.258.25, 61.205, 38.366The Color 25, 61.205, 38.366.26, 58.615, 37.163The Color 26, 58.615, 37.163.27, 53.421, 34.249The Color 27, 53.421, 34.249.29, 46.954, 30.871The Color 29, 46.954, 30.871.31, 40.073, 27.936The Color 31, 40.073, 27.936.34, 33.086, 25.562The Color 34, 33.086, 25.562.37, 26.212, 23.704The Color 37, 26.212, 23.704.41, 19.606, 22.265The Color 41, 19.606, 22.265.44, 13.363, 21.149The Color 44, 13.363, 21.149.48, 7.527, 20.258The Color 48, 7.527, 20.258.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.48, 7.527, 20.258The Color 48, 7.527, 20.258.84, 29.917, 197.405The Color 84, 29.917, 197.405.80, 26.720, 197.538The Color 80, 26.720, 197.538.76, 23.350, 197.695The Color 76, 23.350, 197.695.72, 19.782, 197.884The Color 72, 19.782, 197.884.68, 15.989, 198.114The Color 68, 15.989, 198.114.64, 11.940, 198.398The Color 64, 11.940, 198.398.60, 7.599, 198.755The Color 60, 7.599, 198.755.56, 2.931, 199.259The Color 56, 2.931, 199.259.52, 2.101, 19.462The Color 52, 2.101, 19.462.48, 7.527, 20.258The Color 48, 7.527, 20.258.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.48, 7.527, 20.258The Color 48, 7.527, 20.258.52, 6.902, 198.746The Color 52, 6.902, 198.746.48, 7.527, 20.258The Color 48, 7.527, 20.258.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.48, 7.527, 20.258The Color 48, 7.527, 20.258.48, 7.527, 250.258The Color 48, 7.527, 250.258.48, 7.527, 200.258The Color 48, 7.527, 200.258.48, 7.527, 70.258The Color 48, 7.527, 70.258.48, 7.527, 20.258The Color 48, 7.527, 20.258.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.48, 7.526, 20.268The Color 48, 7.526, 20.268.36, 0.005, 296.813The Color 36, 0.005, 296.813.85, 0.010, 296.813The Color 85, 0.010, 296.813.34, 1.829, 19.530The Color 34, 1.829, 19.530.49, 12.800, 325.168The Color 49, 12.800, 325.168.66, 2.547, 19.464The Color 66, 2.547, 19.464.48, 7.526, 20.268The Color 48, 7.526, 20.268.Sweetspot

SVG Images

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

#806E6E

Previews

White Background

This preview shows how the CIELCh color 48, 7.527, 20.258 looks on a white background.

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

Black Background

This preview shows how the CIELCh color 48, 7.527, 20.258 looks on a black background.

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

CIELCh 48, 7.527, 20.258 Background

This preview shows how black text looks on a background with the CIELCh color 48, 7.527, 20.258.

This preview shows how white text looks on a background with the CIELCh color 48, 7.527, 20.258.


CSS Examples


The CSS property to change the color of the text to CIELCh 48, 7.527, 20.258 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(128, 110, 110) }.

This example shows how text in the color rgb(128, 110, 110) looks like.

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

Here you see how black text with a 4 pixel rgb(128, 110, 110) 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 48, 7.527, 20.258 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(128, 110, 110) }.

If only the border color should be changed .border{ border-color:rgb(128, 110, 110) } can be used.

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

Background

The CSS property to change the background color of an element to CIELCh 48, 7.527, 20.258 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(128, 110, 110) }.

If only the background color should be changed .background{ background-color:rgb(128, 110, 110) } 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, "806E6E", 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°, 14%, 50%" 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°, 14%, 50%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(48.00, 7.06, 2.61)", "CIELCH(48, 7.527, 20.258)", "YXY(16.7945, 0.3374, 0.3291)" and "CMYK(0.00, 0.14, 0.14, 0.50)".