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 1
FormatColor
Hex5D4B7A
RGB93, 75, 122
RGB Percent36%, 29%, 48%
CMY0.6353, 0.7058, 0.5215
CMYK0.24, 0.39, 0.00, 0.52
HSL263°, 24%, 39%
HSV263°, 39%, 48%
XYZ10.5446, 8.7661, 19.5524
Conversions Part 2
FormatColor
RYB93, 75, 122
Decimal6114170
CIELab35.53, 18.14, -23.99
CIELCh36, 30.076, 307.095
Yxy8.7661, 0.2713, 0.2256
Android (android.graphics.Color)4284304250 (0xFF5D4B7A)
YUV85.7400, 17.8762, 6.3670

Details

The CIELab color 35.53, 18.14, -23.99 is a dark color, and the websafe version is hex 666699. A complement of this color would be 48.73, -15.30, 23.59, and the grayscale version is 36.39, 0.00, -0.00.

A 20% lighter version of the original color is 55.52, 18.14, -24.20, and 15.59, 17.81, -23.89 is the 20% darker color. If you saturate the color by 10%, you get 31.56, 23.48, -30.28, and if you desaturate by 10%, it is 39.57, 13.05, -17.67.

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 CIELab color 35.53, 18.14, -23.99 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 CIELab color 35.53, 18.14, -23.99 by changing the saturation by 10% instead.

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.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.15.50, 47.38, -56.57The Color 15.50, 47.38, -56.57.15.84, 46.83, -56.00The Color 15.84, 46.83, -56.00.18.11, 43.59, -52.23The Color 18.11, 43.59, -52.23.20.85, 39.46, -47.68The Color 20.85, 39.46, -47.68.24.11, 34.41, -42.32The Color 24.11, 34.41, -42.32.27.73, 28.97, -36.45The Color 27.73, 28.97, -36.45.31.56, 23.48, -30.28The Color 31.56, 23.48, -30.28.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.71.95, -19.08, 29.24The Color 71.95, -19.08, 29.24.67.98, -15.71, 23.85The Color 67.98, -15.71, 23.85.63.98, -12.21, 18.32The Color 63.98, -12.21, 18.32.59.95, -8.53, 12.65The Color 59.95, -8.53, 12.65.55.90, -4.68, 6.84The Color 55.90, -4.68, 6.84.51.83, -0.62, 0.89The Color 51.83, -0.62, 0.89.47.74, 3.68, -5.20The Color 47.74, 3.68, -5.20.43.65, 8.23, -11.39The Color 43.65, 8.23, -11.39.39.57, 13.05, -17.67The Color 39.57, 13.05, -17.67.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.35.53, 3.71, -29.85The Color 35.53, 3.71, -29.85.35.53, 27.70, -11.71The Color 35.53, 27.70, -11.71.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.35.53, 3.71, -29.85The Color 35.53, 3.71, -29.85.Analogous

🖌️ View as Color Bucket

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.35.53, -29.85, -3.71The Color 35.53, -29.85, -3.71.35.53, 11.71, 27.70The Color 35.53, 11.71, 27.70.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.Triad

🖌️ View as Color Bucket

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.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.48.73, -15.30, 23.59The Color 48.73, -15.30, 23.59.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.Complementary

🖌️ View as Color Bucket

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.35.53, -27.70, 11.71The Color 35.53, -27.70, 11.71.35.53, -3.71, 29.85The Color 35.53, -3.71, 29.85.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.35.53, -27.70, 11.71The Color 35.53, -27.70, 11.71.Split Complementary

🖌️ View as Color Bucket

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.35.53, -23.99, -18.14The Color 35.53, -23.99, -18.14.35.53, -18.14, 23.99The Color 35.53, -18.14, 23.99.35.53, 23.99, 18.14The Color 35.53, 23.99, 18.14.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.Square

🖌️ 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.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.35.53, -30.04, 1.52The Color 35.53, -30.04, 1.52.35.53, -18.14, 23.99The Color 35.53, -18.14, 23.99.35.53, 30.04, -1.52The Color 35.53, 30.04, -1.52.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.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.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.33.62, 0.00, -0.00The Color 33.62, 0.00, -0.00.82.96, 0.00, -0.01The Color 82.96, 0.00, -0.01.29.62, 4.28, -5.99The Color 29.62, 4.28, -5.99.42.70, -6.12, -13.07The Color 42.70, -6.12, -13.07.59.09, 6.47, -9.08The Color 59.09, 6.47, -9.08.35.53, 18.14, -23.99The Color 35.53, 18.14, -23.99.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#5D4B7A

Previews

White Background

 

This preview shows how the CIELab color 35.53, 18.14, -23.99 looks on a white background.

The color contrast ratio for these colors is 7.63, 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.53, 18.14, -23.99 looks on a black background.

The color contrast ratio for these colors is 2.75, 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.53, 18.14, -23.99 Background

 

This preview shows how black text looks on a background with the CIELab color 35.53, 18.14, -23.99.

 

This preview shows how white text looks on a background with the CIELab color 35.53, 18.14, -23.99.

Color Blindness Simulation


Dichromacy

Original Color
35.53, 18.14, -23.99
Protanopia
35.57, 7.52, -27.79
Deuteranopia
35.61, 4.91, -22.77
Tritanopia
35.56, 3.53, -3.35

Trichromacy

Original Color
35.53, 18.14, -23.99
Protanomaly
35.27, 11.39, -26.98
Deuteranomaly
35.47, 9.86, -23.55
Tritanomaly
35.31, 8.94, -11.25

Monochromacy

Original Color
35.53, 18.14, -23.99
Achromatopsia
36.57, 0.00, -0.00
Achromatomaly
36.10, 6.57, -8.80

CSS Examples


The CSS property to change the color of the text to CIELab 35.53, 18.14, -23.99 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(93, 75, 122) }.

This example shows how text in the color rgb(93, 75, 122) looks like.

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

Here you see how black text with a 4 pixel rgb(93, 75, 122) 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.53, 18.14, -23.99 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(93, 75, 122) }.

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

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

Background

The CSS property to change the background color of an element to CIELab 35.53, 18.14, -23.99 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(93, 75, 122) }.

If only the background color should be changed .background{ background-color:rgb(93, 75, 122) } 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, "5D4B7A", 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 "263°, 39%, 48%" 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(263°, 39%, 48%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(35.53, 18.14, -23.99)", "CIELCH(36, 30.076, 307.095)", "YXY(8.7661, 0.2713, 0.2256)" and "CMYK(0.24, 0.39, 0.00, 0.52)".


    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.