Converting Colors

Advertisment

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
RYB92, 93, 125
Decimal6053245
CIELab40.55, 7.30, -18.06
CIELCh41, 19.482, 291.996
Yxy11.5847, 0.2696, 0.2596
Android (android.graphics.Color)4284243325 (0xFF5C5D7D)
YUV96.3490, 14.1249, -3.8141

Details

The Decimal color 6053245 is a dark color, and the websafe version is hex 666699. A complement of this color would be 8223836, and the grayscale version is 6316128.

A 20% lighter version of the original color is 9408434, and 2961228 is the 20% darker color. If you saturate the color by 10%, you get 5263741, and if you desaturate by 10%, it is 6908285.

Advertisment

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 Decimal color 6053245 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 Decimal color 6053245 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%.6053245The Color 6053245.16777215The Color 16777215.16711167The Color 16711167.14803455The Color 14803455.12961257The Color 12961257.11184845The Color 11184845.9408434The Color 9408434.7698071The Color 7698071.6053245The Color 6053245.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]6053245The Color 6053245.0The Color 0.4The Color 4.32The Color 32.1514293The Color 1514293.2961228The Color 2961228.4474212The Color 4474212.6053245The Color 6053245.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.6053245The Color 6053245.1149The Color 1149.329853The Color 329853.1119357The Color 1119357.1974397The Color 1974397.2764157The Color 2764157.3619197The Color 3619197.4408701The Color 4408701.5263741The Color 5263741.6053245The Color 6053245.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]6053245The Color 6053245.13486717The Color 13486717.12631677The Color 12631677.11842173The Color 11842173.10987133The Color 10987133.10197629The Color 10197629.9342333The Color 9342333.8552829The Color 8552829.7697789The Color 7697789.6908285The Color 6908285.6053245The Color 6053245.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.4547199The Color 4547199.7362675The Color 7362675.6053245The Color 6053245.4547199The Color 4547199.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.6053245The Color 6053245.3827803The Color 3827803.8083527The Color 8083527.6053245The Color 6053245.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.6053245The Color 6053245.8223836The Color 8223836.6053245The Color 6053245.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.5006924The Color 5006924.7298368The Color 7298368.6053245The Color 6053245.5006924The Color 5006924.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.6053245The Color 6053245.3041387The Color 3041387.6251074The Color 6251074.8410196The Color 8410196.6053245The Color 6053245.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.6053245The Color 6053245.4221013The Color 4221013.6251074The Color 6251074.7951722The Color 7951722.6053245The Color 6053245.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.6053245The Color 6053245.5395026The Color 5395026.13750737The Color 13750737.4803154The Color 4803154.6061436The Color 6061436.9869219The Color 9869219.6053245The Color 6053245.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#5C5D7D
Advertisment

Previews

White Background

 

This preview shows how the Decimal color 6053245 looks on a white background.

The color contrast ratio for these colors is 6.33, 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 Decimal color 6053245 looks on a black background.

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

Decimal 6053245 Background

 

This preview shows how black text looks on a background with the Decimal color 6053245.

 

This preview shows how white text looks on a background with the Decimal color 6053245.

Color Blindness Simulation


Dichromacy

Original Color
6053245
Protanopia
5725822
Deuteranopia
5856893
Tritanopia
5792105

Trichromacy

Original Color
6053245
Protanomaly
5856894
Deuteranomaly
5922429
Tritanomaly
5857392

Monochromacy

Original Color
6053245
Achromatopsia
6316128
Achromatomaly
6250347
Advertisment

CSS Examples


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

This example shows how text in the color #5C5D7D looks like.

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

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

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

Here you see how a box with a 4 pixel #5C5D7D colored shadow looks like.

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

Background

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

If only the background color should be changed .background{ background-color:#5C5D7D } 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, "5C5D7D", 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 "238°, 26%, 49%" 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(238°, 26%, 49%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(40.55, 7.30, -18.06)", "CIELCH(41, 19.482, 291.996)", "YXY(11.5847, 0.2696, 0.2596)" and "CMYK(0.26, 0.26, 0.00, 0.51)".


Advertisment