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
RYB125, 77, 178
Decimal8211890
CIELab42.59, 40.58, -46.40
CIELCh43, 61.646, 311.174
Yxy12.8821, 0.2532, 0.1703
Android (android.graphics.Color)4286401970 (0xFF7D4DB2)
YUV102.8660, 37.0411, 19.4115

Details

The Hex color 7D4DB2 is a dark color, and the websafe version is hex 663399. A complement of this color would be 82B24D, and the grayscale version is 676767.

A 20% lighter version of the original color is B480EA, and 481C7D is the 20% darker color. If you saturate the color by 10%, you get 743BB2, and if you desaturate by 10%, it is 865FB2.

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 Hex color 7D4DB2 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 Hex color 7D4DB2 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%.7D4DB2The Color 7D4DB2.FFFFFFThe Color FFFFFF.FFEEFFThe Color FFEEFF.FFD2FFThe Color FFD2FF.EEB6FFThe Color EEB6FF.D19AFFThe Color D19AFF.B480EAThe Color B480EA.9866CEThe Color 9866CE.7D4DB2The Color 7D4DB2.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]7D4DB2The Color 7D4DB2.000000The Color 000000.00021DThe Color 00021D.000033The Color 000033.12004BThe Color 12004B.2D0263The Color 2D0263.481C7DThe Color 481C7D.623597The Color 623597.7D4DB2The Color 7D4DB2.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.7D4DB2The Color 7D4DB2.5500B2The Color 5500B2.5806B2The Color 5806B2.6118B2The Color 6118B2.6A29B2The Color 6A29B2.743BB2The Color 743BB2.7D4DB2The Color 7D4DB2.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]7D4DB2The Color 7D4DB2.D1EDB2The Color D1EDB2.C8DBB2The Color C8DBB2.BECAB2The Color BECAB2.B5B8B2The Color B5B8B2.ACA6B2The Color ACA6B2.A294B2The Color A294B2.9982B2The Color 9982B2.9071B2The Color 9071B2.865FB2The Color 865FB2.7D4DB2The Color 7D4DB2.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.0065CAThe Color 0065CA.AE3187The Color AE3187.7D4DB2The Color 7D4DB2.0065CAThe Color 0065CA.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.7D4DB2The Color 7D4DB2.007B77The Color 007B77.945600The Color 945600.7D4DB2The Color 7D4DB2.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.7D4DB2The Color 7D4DB2.82B24DThe Color 82B24D.7D4DB2The Color 7D4DB2.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.007941The Color 007941.696800The Color 696800.7D4DB2The Color 7D4DB2.007941The Color 007941.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.7D4DB2The Color 7D4DB2.007AA7The Color 007AA7.2C7304The Color 2C7304.B23D23The Color B23D23.7D4DB2The Color 7D4DB2.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.7D4DB2The Color 7D4DB2.007B65The Color 007B65.2C7304The Color 2C7304.BB2565The Color BB2565.7D4DB2The Color 7D4DB2.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.7D4DB2The Color 7D4DB2.757575The Color 757575.F5F5F5The Color F5F5F5.695E75The Color 695E75.4D83B2The Color 4D83B2.D3C1E8The Color D3C1E8.7D4DB2The Color 7D4DB2.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#7D4DB2

Previews

White Background

 

This preview shows how the Hex color 7D4DB2 looks on a white background.

The color contrast ratio for these colors is 5.87, 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 Hex color 7D4DB2 looks on a black background.

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

Hex 7D4DB2 Background

 

This preview shows how black text looks on a background with the Hex color 7D4DB2.

 

This preview shows how white text looks on a background with the Hex color 7D4DB2.

Color Blindness Simulation


Dichromacy

Original Color
7D4DB2
Protanopia
2461C7
Deuteranopia
2E66AD
Tritanopia
6F6168

Trichromacy

Original Color
7D4DB2
Protanomaly
445ABF
Deuteranomaly
4B5DAF
Tritanomaly
745A83

Monochromacy

Original Color
7D4DB2
Achromatopsia
676767
Achromatomaly
6F5E82

CSS Examples


The CSS property to change the color of the text to Hex 7D4DB2 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:#7D4DB2 }.

This example shows how text in the color #7D4DB2 looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px #7D4DB2 }.

Here you see how black text with a 4 pixel #7D4DB2 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 Hex 7D4DB2 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid #7D4DB2 }.

If only the border color should be changed .border{ border-color:#7D4DB2 } can be used.

Here you see how a box with a 4 pixel #7D4DB2 colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px #7D4DB2; -webkit-box-shadow:4px 4px 4px 4px #7D4DB2; box-shadow:4px 4px 4px 4px #7D4DB2 }.

Background

The CSS property to change the background color of an element to Hex 7D4DB2 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:#7D4DB2 }.

If only the background color should be changed .background{ background-color:#7D4DB2 } 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, "7D4DB2", 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 "269°, 57%, 70%" 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(269°, 57%, 70%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(42.59, 40.58, -46.40)", "CIELCH(43, 61.646, 311.174)", "YXY(12.8821, 0.2532, 0.1703)" and "CMYK(0.30, 0.57, 0.00, 0.30)".