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
RYB128, 84, 128
Decimal8410240
CIELab41.98, 25.98, -17.38
CIELCh42, 31.258, 326.222
Yxy12.4889, 0.3165, 0.2475
Android (android.graphics.Color)4286600320 (0xFF805480)
YUV102.1720, 12.7332, 22.6512

Details

The CMY color 0.4980, 0.6706, 0.4980 is a dark color, and the websafe version is hex 996699. A complement of this color would be 0.6706, 0.4980, 0.6706, and the grayscale version is 0.5998, 0.5998, 0.5998.

A 20% lighter version of the original color is 0.2863, 0.4745, 0.2902, and 0.6941, 0.8549, 0.6902 is the 20% darker color. If you saturate the color by 10%, you get 0.4980, 0.7208, 0.4980, and if you desaturate by 10%, it is 0.4980, 0.6204, 0.4980.

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 CMY color 0.4980, 0.6706, 0.4980 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 CMY color 0.4980, 0.6706, 0.4980 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%.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0410, 0.0000The Color 0.0000, 0.0410, 0.0000.0.0000, 0.1531, 0.0000The Color 0.0000, 0.1531, 0.0000.0.0666, 0.2626, 0.0712The Color 0.0666, 0.2626, 0.0712.0.1786, 0.3693, 0.1822The Color 0.1786, 0.3693, 0.1822.0.2879, 0.4730, 0.2905The Color 0.2879, 0.4730, 0.2905.0.3944, 0.5735, 0.3958The Color 0.3944, 0.5735, 0.3958.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.1.0000, 1.0000, 1.0000The Color 1.0000, 1.0000, 1.0000.1.0000, 0.9987, 0.9660The Color 1.0000, 0.9987, 0.9660.0.8654, 1.0000, 0.8651The Color 0.8654, 1.0000, 0.8651.0.7883, 0.9418, 0.7816The Color 0.7883, 0.9418, 0.7816.0.6952, 0.8537, 0.6914The Color 0.6952, 0.8537, 0.6914.0.5983, 0.7639, 0.5966The Color 0.5983, 0.7639, 0.5966.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.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.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.4980, 1.0000, 0.4980The Color 0.4980, 1.0000, 0.4980.0.4980, 0.9718, 0.4980The Color 0.4980, 0.9718, 0.4980.0.4980, 0.9216, 0.4980The Color 0.4980, 0.9216, 0.4980.0.4980, 0.8714, 0.4980The Color 0.4980, 0.8714, 0.4980.0.4980, 0.8212, 0.4980The Color 0.4980, 0.8212, 0.4980.0.4980, 0.7710, 0.4980The Color 0.4980, 0.7710, 0.4980.0.4980, 0.7208, 0.4980The Color 0.4980, 0.7208, 0.4980.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.4980, 0.2188, 0.4980The Color 0.4980, 0.2188, 0.4980.0.4980, 0.2690, 0.4980The Color 0.4980, 0.2690, 0.4980.0.4980, 0.3192, 0.4980The Color 0.4980, 0.3192, 0.4980.0.4980, 0.3694, 0.4980The Color 0.4980, 0.3694, 0.4980.0.4980, 0.4196, 0.4980The Color 0.4980, 0.4196, 0.4980.0.4980, 0.4698, 0.4980The Color 0.4980, 0.4698, 0.4980.0.4980, 0.5200, 0.4980The Color 0.4980, 0.5200, 0.4980.0.4980, 0.5702, 0.4980The Color 0.4980, 0.5702, 0.4980.0.4980, 0.6204, 0.4980The Color 0.4980, 0.6204, 0.4980.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.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.0.6224, 0.6329, 0.4305The Color 0.6224, 0.6329, 0.4305.0.4312, 0.6933, 0.5945The Color 0.4312, 0.6933, 0.5945.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.6224, 0.6329, 0.4305The Color 0.6224, 0.6329, 0.4305.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.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.1.0000, 0.5607, 0.5256The Color 1.0000, 0.5607, 0.5256.0.5384, 0.6216, 0.8168The Color 0.5384, 0.6216, 0.8168.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.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.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.6706, 0.4980, 0.6706The Color 0.6706, 0.4980, 0.6706.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.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.0.9716, 0.5602, 0.6281The Color 0.9716, 0.5602, 0.6281.0.6391, 0.5908, 0.7983The Color 0.6391, 0.5908, 0.7983.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.9716, 0.5602, 0.6281The Color 0.9716, 0.5602, 0.6281.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.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.1.0000, 0.5726, 0.4462The Color 1.0000, 0.5726, 0.4462.0.7611, 0.5702, 0.7276The Color 0.7611, 0.5702, 0.7276.0.4618, 0.6579, 0.7766The Color 0.4618, 0.6579, 0.7766.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.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.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.1.0000, 0.5593, 0.5585The Color 1.0000, 0.5593, 0.5585.0.7611, 0.5702, 0.7276The Color 0.7611, 0.5702, 0.7276.0.4188, 0.6926, 0.6627The Color 0.4188, 0.6926, 0.6627.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.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.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.0.6700, 0.6700, 0.6700The Color 0.6700, 0.6700, 0.6700.0.1700, 0.1700, 0.1700The Color 0.1700, 0.1700, 0.1700.0.6700, 0.7096, 0.6700The Color 0.6700, 0.7096, 0.6700.0.6706, 0.6706, 0.4980The Color 0.6706, 0.6706, 0.4980.0.3500, 0.4150, 0.3500The Color 0.3500, 0.4150, 0.3500.0.4980, 0.6706, 0.4980The Color 0.4980, 0.6706, 0.4980.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#805480

Previews

White Background

 

This preview shows how the CMY color 0.4980, 0.6706, 0.4980 looks on a white background.

The color contrast ratio for these colors is 6.00, 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 CMY color 0.4980, 0.6706, 0.4980 looks on a black background.

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

CMY 0.4980, 0.6706, 0.4980 Background

 

This preview shows how black text looks on a background with the CMY color 0.4980, 0.6706, 0.4980.

 

This preview shows how white text looks on a background with the CMY color 0.4980, 0.6706, 0.4980.

Color Blindness Simulation


Dichromacy

Original Color
0.4980, 0.6706, 0.4980
Protanopia
0.6588, 0.6157, 0.4549
Deuteranopia
0.6235, 0.6196, 0.5098
Tritanopia
0.5137, 0.6471, 0.6196

Trichromacy

Original Color
0.4980, 0.6706, 0.4980
Protanomaly
0.6000, 0.6353, 0.4706
Deuteranomaly
0.5765, 0.6392, 0.5059
Tritanomaly
0.5098, 0.6549, 0.5765

Monochromacy

Original Color
0.4980, 0.6706, 0.4980
Achromatopsia
0.6000, 0.6000, 0.6000
Achromatomaly
0.5647, 0.6275, 0.5647

CSS Examples


The CSS property to change the color of the text to CMY 0.4980, 0.6706, 0.4980 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(128, 84, 128) }.

This example shows how text in the color rgb(128, 84, 128) looks like.

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

Here you see how black text with a 4 pixel rgb(128, 84, 128) 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 CMY 0.4980, 0.6706, 0.4980 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(128, 84, 128) }.

If only the border color should be changed .border{ border-color:rgb(128, 84, 128) } can be used.

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

Background

The CSS property to change the background color of an element to CMY 0.4980, 0.6706, 0.4980 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(128, 84, 128) }.

If only the background color should be changed .background{ background-color:rgb(128, 84, 128) } 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, "805480", 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 "300°, 34%, 50%" 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(300°, 34%, 50%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(41.98, 25.98, -17.38)", "CIELCH(42, 31.258, 326.222)", "YXY(12.4889, 0.3165, 0.2475)" and "CMYK(0.00, 0.34, 0.00, 0.50)".