Converting Colors


Conversions · Details · Harmonies · Images · Preview · 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
Hex5C2E5C
RGB92, 46, 92
RGB Percent36%, 18%, 36%
CMY0.6392, 0.8196, 0.6392
CMYK0.00, 0.50, 0.00, 0.64
HSL300°, 33%, 27%
HSV300°, 50%, 36%
XYZ7.3224, 5.0020, 10.7048
Conversions Part 2
FormatColor
RYB92, 46, 92
Decimal6041180
CIELab26.74, 28.53, -18.62
CIELCh27, 34.064, 326.871
Yxy5.0020, 0.3180, 0.2172
Android (android.graphics.Color)4284231260 (0xFF5C2E5C)
YUV64.9980, 13.3120, 23.6808

Details

The Decimal color 6041180 is a dark color, and the websafe version is hex 663366. A complement of this color would be 3038254, and the grayscale version is 4276545.

A 20% lighter version of the original color is 9461390, and 2883886 is the 20% darker color. If you saturate the color by 10%, you get 6038876, and if you desaturate by 10%, it is 6043484.

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 6041180 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 6041180 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%.6041180The Color 6041180.16777215The Color 16777215.16770303The Color 16770303.16762877The Color 16762877.14855392The Color 14855392.13013444The Color 13013444.11171753The Color 11171753.9461390The Color 9461390.7685493The Color 7685493.6041180The Color 6041180.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]6041180The Color 6041180.0The Color 0.1310745The Color 1310745.2883886The Color 2883886.4462404The Color 4462404.6041180The Color 6041180.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.6041180The Color 6041180.6029404The Color 6029404.6031708The Color 6031708.6034012The Color 6034012.6036572The Color 6036572.6038876The Color 6038876.6041180The Color 6041180.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]6041180The Color 6041180.6062428The Color 6062428.6060124The Color 6060124.6057564The Color 6057564.6055260The Color 6055260.6052956The Color 6052956.6050652The Color 6050652.6048348The Color 6048348.6045788The Color 6045788.6043484The Color 6043484.6041180The Color 6041180.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.3815790The Color 3815790.7087683The Color 7087683.6041180The Color 6041180.3815790The Color 3815790.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.6041180The Color 6041180.19286The Color 19286.5192965The Color 5192965.6041180The Color 6041180.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.6041180The Color 6041180.3038254The Color 3038254.6041180The Color 6041180.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.19260The Color 19260.3491084The Color 3491084.6041180The Color 6041180.19260The Color 19260.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.6041180The Color 6041180.18794The Color 18794.1001761The Color 1001761.6435603The Color 6435603.6041180The Color 6041180.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.6041180The Color 6041180.19534The Color 19534.1001761The Color 1001761.7218994The Color 7218994.6041180The Color 6041180.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.6041180The Color 6041180.4013373The Color 4013373.12434877The Color 12434877.4010557The Color 4010557.3026524The Color 3026524.7890552The Color 7890552.6041180The Color 6041180.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#5C2E5C

Previews

White Background

 

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

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

The color contrast ratio for these colors is 2.00, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Decimal 6041180 Background

 

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

 

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

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#5C2E5C } 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, "5C2E5C", 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°, 50%, 36%" 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°, 50%, 36%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(26.74, 28.53, -18.62)", "CIELCH(27, 34.064, 326.871)", "YXY(5.0020, 0.3180, 0.2172)" and "CMYK(0.00, 0.50, 0.00, 0.64)".


125x125 Fiverr Pro  Grammarly Logo    10% discount- Jump- start your career

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.