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
RYB108, 49, 162
Decimal7090594
CIELab33.98, 47.29, -50.65
CIELCh34, 69.293, 313.034
Yxy7.9986, 0.2434, 0.1412
Android (android.graphics.Color)4285280674 (0xFF6C31A2)
YUV79.5230, 40.6612, 24.9743

Details

The Yxy color 7.9986, 0.2434, 0.1412 is a dark color, and the websafe version is hex 663399. A complement of this color would be 28.8334, 0.3435, 0.5212, and the grayscale version is 7.8604, 0.3127, 0.3290.

A 20% lighter version of the original color is 21.9628, 0.2624, 0.1783, and 1.8610, 0.2043, 0.0899 is the 20% darker color. If you saturate the color by 10%, you get 6.4131, 0.2310, 0.1202, and if you desaturate by 10%, it is 10.1132, 0.2559, 0.1662.

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 7.9986, 0.2434, 0.1412 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 7.9986, 0.2434, 0.1412 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%.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.175.7210, 0.2893, 0.2427The Color 175.7210, 0.2893, 0.2427.140.6874, 0.2873, 0.2370The Color 140.6874, 0.2873, 0.2370.110.6502, 0.2850, 0.2306The Color 110.6502, 0.2850, 0.2306.85.2250, 0.2822, 0.2232The Color 85.2250, 0.2822, 0.2232.64.0273, 0.2789, 0.2147The Color 64.0273, 0.2789, 0.2147.46.6728, 0.2748, 0.2048The Color 46.6728, 0.2748, 0.2048.32.7770, 0.2698, 0.1930The Color 32.7770, 0.2698, 0.1930.21.9557, 0.2633, 0.1790The Color 21.9557, 0.2633, 0.1790.13.8244, 0.2548, 0.1620The Color 13.8244, 0.2548, 0.1620.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.1091, 0.0000The Color 0.0000, 0.1091, 0.0000.0.4406, 0.1698, 0.0414The Color 0.4406, 0.1698, 0.0414.1.7263, 0.2040, 0.0842The Color 1.7263, 0.2040, 0.0842.4.0941, 0.2274, 0.1156The Color 4.0941, 0.2274, 0.1156.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.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.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.4.5095, 0.2078, 0.0919The Color 4.5095, 0.2078, 0.0919.4.5385, 0.2083, 0.0923The Color 4.5385, 0.2083, 0.0923.5.3002, 0.2192, 0.1040The Color 5.3002, 0.2192, 0.1040.6.4131, 0.2310, 0.1202The Color 6.4131, 0.2310, 0.1202.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.50.8942, 0.3234, 0.3726The Color 50.8942, 0.3234, 0.3726.43.1671, 0.3186, 0.3523The Color 43.1671, 0.3186, 0.3523.36.2496, 0.3130, 0.3300The Color 36.2496, 0.3130, 0.3300.30.1150, 0.3063, 0.3055The Color 30.1150, 0.3063, 0.3055.24.7344, 0.2984, 0.2792The Color 24.7344, 0.2984, 0.2792.20.0777, 0.2894, 0.2513The Color 20.0777, 0.2894, 0.2513.16.1125, 0.2792, 0.2225The Color 16.1125, 0.2792, 0.2225.12.8036, 0.2679, 0.1937The Color 12.8036, 0.2679, 0.1937.10.1132, 0.2559, 0.1662The Color 10.1132, 0.2559, 0.1662.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.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.7.9986, 0.1405, 0.1198The Color 7.9986, 0.1405, 0.1198.7.9986, 0.4107, 0.1933The Color 7.9986, 0.4107, 0.1933.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.7.9986, 0.1405, 0.1198The Color 7.9986, 0.1405, 0.1198.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.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.7.9986, 0.0992, 0.3223The Color 7.9986, 0.0992, 0.3223.7.9986, 0.5544, 0.4456The Color 7.9986, 0.5544, 0.4456.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.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.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.28.8334, 0.3435, 0.5212The Color 28.8334, 0.3435, 0.5212.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.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.7.9986, 0.1749, 0.5545The Color 7.9986, 0.1749, 0.5545.7.9986, 0.4313, 0.5687The Color 7.9986, 0.4313, 0.5687.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.7.9986, 0.1749, 0.5545The Color 7.9986, 0.1749, 0.5545.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.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.7.9986, 0.0778, 0.1828The Color 7.9986, 0.0778, 0.1828.7.9986, 0.2971, 0.6573The Color 7.9986, 0.2971, 0.6573.7.9986, 0.6198, 0.3461The Color 7.9986, 0.6198, 0.3461.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.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.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.7.9986, 0.1175, 0.3951The Color 7.9986, 0.1175, 0.3951.7.9986, 0.2971, 0.6573The Color 7.9986, 0.2971, 0.6573.7.9986, 0.5285, 0.2411The Color 7.9986, 0.5285, 0.2411.7.9986, 0.2434, 0.1412The Color 7.9986, 0.2434, 0.1412.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.7.9989, 0.2434, 0.1412The Color 7.9989, 0.2434, 0.1412.13.9985, 0.3127, 0.3290The Color 13.9985, 0.3127, 0.3290.80.7346, 0.3127, 0.3290The Color 80.7346, 0.3127, 0.3290.8.7979, 0.2946, 0.2672The Color 8.7979, 0.2946, 0.2672.13.0677, 0.2056, 0.2120The Color 13.0677, 0.2056, 0.2120.42.2981, 0.2969, 0.2743The Color 42.2981, 0.2969, 0.2743.7.9989, 0.2434, 0.1412The Color 7.9989, 0.2434, 0.1412.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#6C31A2

Previews

White Background

 

This preview shows how the Yxy color 7.9986, 0.2434, 0.1412 looks on a white background.

The color contrast ratio for these colors is 8.08, 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 7.9986, 0.2434, 0.1412 looks on a black background.

The color contrast ratio for these colors is 2.60, 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 7.9986, 0.2434, 0.1412 Background

 

This preview shows how black text looks on a background with the Yxy color 7.9986, 0.2434, 0.1412.

 

This preview shows how white text looks on a background with the Yxy color 7.9986, 0.2434, 0.1412.

Color Blindness Simulation


Dichromacy

Original Color
7.9934, 0.2431, 0.1407
Protanopia
8.1291, 0.1754, 0.1512
Deuteranopia
8.0178, 0.1850, 0.1860
Tritanopia
8.1052, 0.3339, 0.3139

Trichromacy

Original Color
7.9934, 0.2431, 0.1407
Protanomaly
7.2099, 0.1820, 0.1379
Deuteranomaly
7.0137, 0.1883, 0.1548
Tritanomaly
7.6408, 0.2943, 0.2282

Monochromacy

Original Color
7.9934, 0.2431, 0.1407
Achromatopsia
8.0220, 0.3127, 0.3290
Achromatomaly
7.5557, 0.2823, 0.2329

CSS Examples


The CSS property to change the color of the text to Yxy 7.9986, 0.2434, 0.1412 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(108, 49, 162) }.

This example shows how text in the color rgb(108, 49, 162) looks like.

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

Here you see how black text with a 4 pixel rgb(108, 49, 162) 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 7.9986, 0.2434, 0.1412 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(108, 49, 162) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 7.9986, 0.2434, 0.1412 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(108, 49, 162) }.

If only the background color should be changed .background{ background-color:rgb(108, 49, 162) } 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, "6C31A2", 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 "271°, 70%, 63%" 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(271°, 70%, 63%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(33.98, 47.29, -50.65)", "CIELCH(34, 69.293, 313.034)", "YXY(7.9986, 0.2434, 0.1412)" and "CMYK(0.33, 0.70, 0.00, 0.37)".


    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.