Converting Colors

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

Conversions

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

FormatColor
HSL78°, 0%, 33%
CIELCh36, 0.000, 0.000
Yxy8.8995, 0.3127, 0.3290
Android (android.graphics.Color)4283716692 (0xFF545454)
YUV84.0000, 0.0000, 0.0000

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


Details

The CIELab color 35.79, 0.00, 0.00 is a dark color, and the websafe version is hex 666666. A complement of this color would be 35.79, 0.01, -0.01, and the grayscale version is 35.79, 0.00, -0.00.

A 20% lighter version of the original color is 55.54, 0.00, -0.01, and 15.64, 0.00, -0.00 is the 20% darker color. If you saturate the color by 10%, you get 35.32, -2.79, 4.57, and if you desaturate by 10%, it is 36.29, 2.87, -4.51.

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 35.79, 0.00, 0.00 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.35.79, 0.00, 0.00The Color 35.79, 0.00, 0.00.32.65, -20.41, 37.10The Color 32.65, -20.41, 37.10.32.88, -18.80, 34.45The Color 32.88, -18.80, 34.45.33.14, -17.00, 31.05The Color 33.14, -17.00, 31.05.33.43, -15.02, 27.12The Color 33.43, -15.02, 27.12.33.74, -12.87, 22.84The Color 33.74, -12.87, 22.84.34.09, -10.55, 18.36The Color 34.09, -10.55, 18.36.34.47, -8.09, 13.78The Color 34.47, -8.09, 13.78.34.88, -5.50, 9.17The Color 34.88, -5.50, 9.17.35.32, -2.79, 4.57The Color 35.32, -2.79, 4.57.35.79, 0.00, 0.00The Color 35.79, 0.00, 0.00.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.35.79, 0.00, 0.00The Color 35.79, 0.00, 0.00.41.28, 26.92, -37.87The Color 41.28, 26.92, -37.87.40.57, 23.90, -33.97The Color 40.57, 23.90, -33.97.39.88, 20.87, -29.99The Color 39.88, 20.87, -29.99.39.22, 17.84, -25.94The Color 39.22, 17.84, -25.94.38.58, 14.80, -21.81The Color 38.58, 14.80, -21.81.37.97, 11.78, -17.60The Color 37.97, 11.78, -17.60.37.38, 8.77, -13.32The Color 37.38, 8.77, -13.32.36.82, 5.80, -8.95The Color 36.82, 5.80, -8.95.36.29, 2.87, -4.51The Color 36.29, 2.87, -4.51.35.79, 0.00, 0.00The Color 35.79, 0.00, 0.00.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.35.79, 0.00, 0.00The Color 35.79, 0.00, 0.00.35.79, 0.01, -0.01The Color 35.79, 0.01, -0.01.35.79, 0.00, 0.00The Color 35.79, 0.00, 0.00.Complementary

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.35.79, -0.00, 0.00The Color 35.79, -0.00, 0.00.74.64, 0.00, -0.01The Color 74.64, 0.00, -0.01.23.57, 0.00, -0.00The Color 23.57, 0.00, -0.00.35.79, 0.00, -0.00The Color 35.79, 0.00, -0.00.46.29, 0.00, -0.01The Color 46.29, 0.00, -0.01.35.79, -0.00, 0.00The Color 35.79, -0.00, 0.00.Sweetspot

SVG Images

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

#545454

Previews

White Background

This preview shows how the CIELab color 35.79, 0.00, 0.00 looks on a white background.

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

Black Background

This preview shows how the CIELab color 35.79, 0.00, 0.00 looks on a black background.

The color contrast ratio for these colors is 2.77, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

CIELab 35.79, 0.00, 0.00 Background

This preview shows how black text looks on a background with the CIELab color 35.79, 0.00, 0.00.

This preview shows how white text looks on a background with the CIELab color 35.79, 0.00, 0.00.


CSS Examples


The CSS property to change the color of the text to CIELab 35.79, 0.00, 0.00 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(84, 84, 84) }.

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

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

Here you see how black text with a 4 pixel rgb(84, 84, 84) 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 35.79, 0.00, 0.00 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(84, 84, 84) }.

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

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

Background

The CSS property to change the background color of an element to CIELab 35.79, 0.00, 0.00 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(84, 84, 84) }.

If only the background color should be changed .background{ background-color:rgb(84, 84, 84) } 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, "545454", 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 "78°, 0%, 33%" 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(78°, 0%, 33%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(35.79, 0.00, 0.00)", "CIELCH(36, 0.000, 0.000)", "YXY(8.8995, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.67)".