Converting Colors

Advertisment

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 1
FormatColor
Hex582E18
RGB88, 46, 24
RGB Percent35%, 18%, 9%
CMY0.6553, 0.8192, 0.9041
CMYK0.00, 0.48, 0.72, 0.66
HSL20°, 56%, 22%
HSV20°, 72%, 34%
XYZ5.1658, 4.1002, 1.4088
Conversions Part 2
FormatColor
RYB88, 58, 24
Decimal5778968
CIELab24.00, 16.98, 22.01
CIELCh24, 27.802, 52.353
Yxy4.1002, 0.4839, 0.3841
Android (android.graphics.Color)4283969048 (0xFF582E18)
YUV56.0500, -15.8006, 28.0202

Details

The CIELCh color 24, 27.802, 52.353 is a dark color, and the websafe version is hex 663333. A complement of this color would be 26, 18.409, 248.984, and the grayscale version is 24, 0.004, 296.813.

A 20% lighter version of the original color is 44, 27.967, 51.868, and 4, 18.255, 20.671 is the 20% darker color. If you saturate the color by 10%, you get 22, 32.409, 51.919, and if you desaturate by 10%, it is 26, 23.253, 52.768.

Advertisment

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 CIELCh color 24, 27.802, 52.353 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 CIELCh color 24, 27.802, 52.353 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%.24, 27.802, 52.353The Color 24, 27.802, 52.353.100, 27.802, 52.353The Color 100, 27.802, 52.353.94, 27.802, 52.353The Color 94, 27.802, 52.353.84, 27.802, 52.353The Color 84, 27.802, 52.353.74, 27.802, 52.353The Color 74, 27.802, 52.353.64, 27.802, 52.353The Color 64, 27.802, 52.353.54, 27.802, 52.353The Color 54, 27.802, 52.353.44, 27.802, 52.353The Color 44, 27.802, 52.353.34, 27.802, 52.353The Color 34, 27.802, 52.353.24, 27.802, 52.353The Color 24, 27.802, 52.353.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]24, 27.802, 52.353The Color 24, 27.802, 52.353.0, 27.802, 52.353The Color 0, 27.802, 52.353.4, 27.802, 52.353The Color 4, 27.802, 52.353.14, 27.802, 52.353The Color 14, 27.802, 52.353.24, 27.802, 52.353The Color 24, 27.802, 52.353.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.24, 27.802, 52.353The Color 24, 27.802, 52.353.20, 38.953, 49.556The Color 20, 38.953, 49.556.21, 36.225, 50.551The Color 21, 36.225, 50.551.22, 32.409, 51.919The Color 22, 32.409, 51.919.24, 27.802, 52.353The Color 24, 27.802, 52.353.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]24, 27.802, 52.353The Color 24, 27.802, 52.353.41, 5.165, 238.122The Color 41, 5.165, 238.122.39, 2.337, 237.407The Color 39, 2.337, 237.407.37, 0.663, 56.123The Color 37, 0.663, 56.123.35, 3.854, 55.708The Color 35, 3.854, 55.708.33, 7.256, 55.025The Color 33, 7.256, 55.025.31, 10.888, 54.369The Color 31, 10.888, 54.369.29, 14.765, 53.766The Color 29, 14.765, 53.766.27, 18.891, 53.232The Color 27, 18.891, 53.232.26, 23.253, 52.768The Color 26, 23.253, 52.768.24, 27.802, 52.353The Color 24, 27.802, 52.353.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.24, 27.802, 52.353The Color 24, 27.802, 52.353.26, 18.409, 248.984The Color 26, 18.409, 248.984.24, 27.802, 52.353The Color 24, 27.802, 52.353.Complementary

🖌️ 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.24, 27.802, 52.353The Color 24, 27.802, 52.353.24, 27.802, 282.353The Color 24, 27.802, 282.353.24, 27.802, 232.353The Color 24, 27.802, 232.353.24, 27.802, 102.353The Color 24, 27.802, 102.353.24, 27.802, 52.353The Color 24, 27.802, 52.353.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.24, 27.801, 52.356The Color 24, 27.801, 52.356.25, 0.004, 296.813The Color 25, 0.004, 296.813.76, 0.009, 296.813The Color 76, 0.009, 296.813.21, 6.120, 54.880The Color 21, 6.120, 54.880.21, 35.697, 341.660The Color 21, 35.697, 341.660.43, 8.988, 54.987The Color 43, 8.988, 54.987.24, 27.801, 52.356The Color 24, 27.801, 52.356.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#582E18
Advertisment

Previews

White Background

 

This preview shows how the CIELCh color 24, 27.802, 52.353 looks on a white background.

The color contrast ratio for these colors is 11.54, 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 CIELCh color 24, 27.802, 52.353 looks on a black background.

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

CIELCh 24, 27.802, 52.353 Background

 

This preview shows how black text looks on a background with the CIELCh color 24, 27.802, 52.353.

 

This preview shows how white text looks on a background with the CIELCh color 24, 27.802, 52.353.

Color Blindness Simulation


Dichromacy

Original Color
24, 28.065, 52.546
Protanopia
24, 19.597, 96.675
Deuteranopia
24, 23.350, 82.177
Tritanopia
24, 22.235, 19.568

Trichromacy

Original Color
24, 28.065, 52.546
Protanomaly
24, 20.627, 76.582
Deuteranomaly
24, 24.112, 69.931
Tritanomaly
24, 23.321, 33.546

Monochromacy

Original Color
24, 28.065, 52.546
Achromatopsia
24, 0.004, 296.813
Achromatomaly
23, 9.322, 50.255
Advertisment

CSS Examples


The CSS property to change the color of the text to CIELCh 24, 27.802, 52.353 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(88, 46, 24) }.

This example shows how text in the color rgb(88, 46, 24) looks like.

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

Here you see how black text with a 4 pixel rgb(88, 46, 24) 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 24, 27.802, 52.353 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(88, 46, 24) }.

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

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

Background

The CSS property to change the background color of an element to CIELCh 24, 27.802, 52.353 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(88, 46, 24) }.

If only the background color should be changed .background{ background-color:rgb(88, 46, 24) } 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, "582E18", 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 "20°, 72%, 34%" 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(20°, 72%, 34%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(24.00, 16.98, 22.01)", "CIELCH(24, 27.802, 52.353)", "YXY(4.1002, 0.4839, 0.3841)" and "CMYK(0.00, 0.48, 0.72, 0.66)".


Advertisment