Converting Colors


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 2
FormatColor
RYB92, 99, 135
Decimal6055047
CIELab43.00, 5.68, -20.39
CIELCh43, 21.166, 285.563
Yxy13.1578, 0.2605, 0.2565
Android (android.graphics.Color)4284245127 (0xFF5C6487)
YUV101.5980, 16.4672, -8.4174

Details

The CIELCh color 43, 21.166, 285.563 is a dark color, and the websafe version is hex 666699. A complement of this color would be 53, 20.343, 97.681, and the grayscale version is 43, 0.006, 296.813.

A 20% lighter version of the original color is 63, 20.813, 284.844, and 23, 20.801, 284.896 is the 20% darker color. If you saturate the color by 10%, you get 39, 28.261, 287.407, and if you desaturate by 10%, it is 47, 14.297, 283.976.

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 43, 21.166, 285.563 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 43, 21.166, 285.563 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%.43, 21.166, 285.563The Color 43, 21.166, 285.563.100, 21.166, 285.563The Color 100, 21.166, 285.563.93, 21.166, 285.563The Color 93, 21.166, 285.563.83, 21.166, 285.563The Color 83, 21.166, 285.563.73, 21.166, 285.563The Color 73, 21.166, 285.563.63, 21.166, 285.563The Color 63, 21.166, 285.563.53, 21.166, 285.563The Color 53, 21.166, 285.563.43, 21.166, 285.563The Color 43, 21.166, 285.563.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]43, 21.166, 285.563The Color 43, 21.166, 285.563.0, 21.166, 285.563The Color 0, 21.166, 285.563.3, 21.166, 285.563The Color 3, 21.166, 285.563.13, 21.166, 285.563The Color 13, 21.166, 285.563.23, 21.166, 285.563The Color 23, 21.166, 285.563.33, 21.166, 285.563The Color 33, 21.166, 285.563.43, 21.166, 285.563The Color 43, 21.166, 285.563.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.43, 21.166, 285.563The Color 43, 21.166, 285.563.18, 72.465, 302.221The Color 18, 72.465, 302.221.20, 66.677, 300.258The Color 20, 66.677, 300.258.23, 58.969, 297.460The Color 23, 58.969, 297.460.27, 51.037, 294.631The Color 27, 51.037, 294.631.31, 43.206, 291.956The Color 31, 43.206, 291.956.35, 35.605, 289.537The Color 35, 35.605, 289.537.39, 28.261, 287.407The Color 39, 28.261, 287.407.43, 21.166, 285.563The Color 43, 21.166, 285.563.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]43, 21.166, 285.563The Color 43, 21.166, 285.563.80, 34.138, 96.956The Color 80, 34.138, 96.956.76, 28.628, 97.485The Color 76, 28.628, 97.485.72, 22.977, 98.080The Color 72, 22.977, 98.080.68, 17.179, 98.754The Color 68, 17.179, 98.754.64, 11.226, 99.520The Color 64, 11.226, 99.520.60, 5.111, 100.390The Color 60, 5.111, 100.390.56, 1.174, 281.523The Color 56, 1.174, 281.523.51, 7.639, 282.617The Color 51, 7.639, 282.617.47, 14.297, 283.976The Color 47, 14.297, 283.976.43, 21.166, 285.563The Color 43, 21.166, 285.563.Saturation Gradient

🖌️ View as Color Bucket

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.43, 21.166, 285.563The Color 43, 21.166, 285.563.53, 20.343, 97.681The Color 53, 20.343, 97.681.43, 21.166, 285.563The Color 43, 21.166, 285.563.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.43, 21.166, 285.563The Color 43, 21.166, 285.563.43, 21.166, 155.563The Color 43, 21.166, 155.563.43, 21.166, 105.563The Color 43, 21.166, 105.563.43, 21.166, 335.563The Color 43, 21.166, 335.563.43, 21.166, 285.563The Color 43, 21.166, 285.563.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.43, 21.165, 285.562The Color 43, 21.165, 285.562.38, 0.005, 296.813The Color 38, 0.005, 296.813.87, 0.010, 296.813The Color 87, 0.010, 296.813.34, 5.505, 282.569The Color 34, 5.505, 282.569.53, 16.771, 180.388The Color 53, 16.771, 180.388.67, 7.992, 282.418The Color 67, 7.992, 282.418.43, 21.165, 285.562The Color 43, 21.165, 285.562.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#5C6487

Previews

White Background

 

This preview shows how the CIELCh color 43, 21.166, 285.563 looks on a white background.

The color contrast ratio for these colors is 5.79, 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 43, 21.166, 285.563 looks on a black background.

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

CIELCh 43, 21.166, 285.563 Background

 

This preview shows how black text looks on a background with the CIELCh color 43, 21.166, 285.563.

 

This preview shows how white text looks on a background with the CIELCh color 43, 21.166, 285.563.

Color Blindness Simulation


Dichromacy

Original Color
43, 21.166, 285.563
Protanopia
43, 21.166, 285.563
Deuteranopia
43, 21.133, 286.483
Tritanopia
43, 8.315, 239.679

Trichromacy

Original Color
43, 21.166, 285.563
Protanomaly
43, 21.166, 285.563
Deuteranomaly
43, 21.133, 286.483
Tritanomaly
43, 11.845, 265.745

Monochromacy

Original Color
43, 21.166, 285.563
Achromatopsia
43, 0.006, 296.813
Achromatomaly
43, 7.890, 282.781

CSS Examples


The CSS property to change the color of the text to CIELCh 43, 21.166, 285.563 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(92, 100, 135) }.

This example shows how text in the color rgb(92, 100, 135) looks like.

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

Here you see how black text with a 4 pixel rgb(92, 100, 135) 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 43, 21.166, 285.563 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(92, 100, 135) }.

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

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

Background

The CSS property to change the background color of an element to CIELCh 43, 21.166, 285.563 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(92, 100, 135) }.

If only the background color should be changed .background{ background-color:rgb(92, 100, 135) } 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, "5C6487", 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 "229°, 32%, 53%" 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(229°, 32%, 53%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(43.00, 5.68, -20.39)", "CIELCH(43, 21.166, 285.563)", "YXY(13.1578, 0.2605, 0.2565)" and "CMYK(0.32, 0.26, 0.00, 0.47)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.