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.6354, 0.7058, 0.5216
CMYK0.24, 0.39, 0.00, 0.52
HSL263°, 24%, 39%
HSV263°, 39%, 48%
XYZ10.5399, 8.7645, 19.5453
Conversions Part 2
FormatColor
RYB93, 75, 122
Decimal6114170
CIELab35.53, 18.12, -23.98
CIELCh36, 30.056, 307.071
Yxy8.7645, 0.2713, 0.2256
Android (android.graphics.Color)4284304250 (0xFF5D4B7A)
YUV85.7400, 17.8762, 6.3670

Details

The Yxy color 8.7645, 0.2713, 0.2256 is a dark color, and the websafe version is hex 666699. A complement of this color would be 17.3706, 0.3435, 0.4279, and the grayscale version is 9.2100, 0.3127, 0.3290.

A 20% lighter version of the original color is 23.4397, 0.2826, 0.2505, and 2.0189, 0.2447, 0.1780 is the 20% darker color. If you saturate the color by 10%, you get 6.8913, 0.2574, 0.1957, and if you desaturate by 10%, it is 10.9946, 0.2840, 0.2549.

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 Yxy color 8.7645, 0.2713, 0.2256 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 Yxy color 8.7645, 0.2713, 0.2256 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%.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.181.6112, 0.2982, 0.2873The Color 181.6112, 0.2982, 0.2873.145.7704, 0.2970, 0.2844The Color 145.7704, 0.2970, 0.2844.114.9855, 0.2957, 0.2809The Color 114.9855, 0.2957, 0.2809.88.8719, 0.2941, 0.2769The Color 88.8719, 0.2941, 0.2769.67.0454, 0.2922, 0.2722The Color 67.0454, 0.2922, 0.2722.49.1215, 0.2899, 0.2665The Color 49.1215, 0.2899, 0.2665.34.7159, 0.2869, 0.2596The Color 34.7159, 0.2869, 0.2596.23.4441, 0.2832, 0.2510The Color 23.4441, 0.2832, 0.2510.14.9218, 0.2782, 0.2401The Color 14.9218, 0.2782, 0.2401.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.6119, 0.2182, 0.1287The Color 0.6119, 0.2182, 0.1287.2.0076, 0.2452, 0.1772The Color 2.0076, 0.2452, 0.1772.4.5879, 0.2612, 0.2058The Color 4.5879, 0.2612, 0.2058.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.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.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.2.0000, 0.1851, 0.0793The Color 2.0000, 0.1851, 0.0793.2.0665, 0.1868, 0.0815The Color 2.0665, 0.1868, 0.0815.2.5396, 0.1991, 0.0961The Color 2.5396, 0.1991, 0.0961.3.2042, 0.2128, 0.1151The Color 3.2042, 0.2128, 0.1151.4.1334, 0.2275, 0.1389The Color 4.1334, 0.2275, 0.1389.5.3545, 0.2426, 0.1663The Color 5.3545, 0.2426, 0.1663.6.8913, 0.2574, 0.1957The Color 6.8913, 0.2574, 0.1957.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.43.5803, 0.3411, 0.4190The Color 43.5803, 0.3411, 0.4190.37.9414, 0.3374, 0.4054The Color 37.9414, 0.3374, 0.4054.32.7758, 0.3329, 0.3902The Color 32.7758, 0.3329, 0.3902.28.0712, 0.3276, 0.3730The Color 28.0712, 0.3276, 0.3730.23.8148, 0.3213, 0.3538The Color 23.8148, 0.3213, 0.3538.19.9933, 0.3139, 0.3324The Color 19.9933, 0.3139, 0.3324.16.5927, 0.3053, 0.3087The Color 16.5927, 0.3053, 0.3087.13.5984, 0.2954, 0.2828The Color 13.5984, 0.2954, 0.2828.10.9946, 0.2840, 0.2549The Color 10.9946, 0.2840, 0.2549.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.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.8.7645, 0.2174, 0.2177The Color 8.7645, 0.2174, 0.2177.8.7645, 0.3440, 0.2544The Color 8.7645, 0.3440, 0.2544.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.8.7645, 0.2174, 0.2177The Color 8.7645, 0.2174, 0.2177.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.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.8.7645, 0.2166, 0.3512The Color 8.7645, 0.2166, 0.3512.8.7645, 0.4500, 0.4058The Color 8.7645, 0.4500, 0.4058.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.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.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.17.3706, 0.3435, 0.4279The Color 17.3706, 0.3435, 0.4279.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.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.8.7645, 0.2713, 0.4255The Color 8.7645, 0.2713, 0.4255.8.7645, 0.4066, 0.4499The Color 8.7645, 0.4066, 0.4499.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.8.7645, 0.2713, 0.4255The Color 8.7645, 0.2713, 0.4255.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.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.8.7645, 0.1887, 0.2797The Color 8.7645, 0.1887, 0.2797.8.7645, 0.3409, 0.4630The Color 8.7645, 0.3409, 0.4630.8.7645, 0.4549, 0.3519The Color 8.7645, 0.4549, 0.3519.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.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.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.8.7645, 0.2322, 0.3776The Color 8.7645, 0.2322, 0.3776.8.7645, 0.3409, 0.4630The Color 8.7645, 0.3409, 0.4630.8.7645, 0.3931, 0.2828The Color 8.7645, 0.3931, 0.2828.8.7645, 0.2713, 0.2256The Color 8.7645, 0.2713, 0.2256.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.8.7648, 0.2713, 0.2256The Color 8.7648, 0.2713, 0.2256.7.8288, 0.3127, 0.3290The Color 7.8288, 0.3127, 0.3290.62.0916, 0.3127, 0.3290The Color 62.0916, 0.3127, 0.3290.6.0833, 0.3008, 0.2967The Color 6.0833, 0.3008, 0.2967.12.9573, 0.2560, 0.2898The Color 12.9573, 0.2560, 0.2898.27.1200, 0.3017, 0.2991The Color 27.1200, 0.3017, 0.2991.8.7648, 0.2713, 0.2256The Color 8.7648, 0.2713, 0.2256.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 Yxy color 8.7645, 0.2713, 0.2256 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 Yxy color 8.7645, 0.2713, 0.2256 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/.

Yxy 8.7645, 0.2713, 0.2256 Background

 

This preview shows how black text looks on a background with the Yxy color 8.7645, 0.2713, 0.2256.

 

This preview shows how white text looks on a background with the Yxy color 8.7645, 0.2713, 0.2256.

Color Blindness Simulation


Dichromacy

Original Color
8.7645, 0.2713, 0.2256
Protanopia
8.7864, 0.2328, 0.2216
Deuteranopia
8.8078, 0.2432, 0.2397
Tritanopia
8.7821, 0.3101, 0.3112

Trichromacy

Original Color
8.7645, 0.2713, 0.2256
Protanomaly
8.6348, 0.2442, 0.2210
Deuteranomaly
8.7375, 0.2525, 0.2331
Tritanomaly
8.6554, 0.2949, 0.2755

Monochromacy

Original Color
8.7645, 0.2713, 0.2256
Achromatopsia
9.3059, 0.3127, 0.3290
Achromatomaly
9.0593, 0.2980, 0.2875

CSS Examples


The CSS property to change the color of the text to Yxy 8.7645, 0.2713, 0.2256 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 Yxy 8.7645, 0.2713, 0.2256 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 Yxy 8.7645, 0.2713, 0.2256 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.12, -23.98)", "CIELCH(36, 30.056, 307.071)", "YXY(8.7645, 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.