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 1
FormatColor
Hex3F2F56
RGB63, 47, 86
RGB Percent25%, 18%, 34%
CMY0.7529, 0.8157, 0.6627
CMYK0.27, 0.45, 0.00, 0.66
HSL265°, 29%, 26%
HSV265°, 45%, 34%
XYZ4.7461, 3.7617, 9.2800
Conversions Part 2
FormatColor
RYB63, 47, 86
Decimal4140886
CIELab22.87, 16.59, -21.00
CIELCh23, 26.764, 308.304
Yxy3.7617, 0.2668, 0.2115
Android (android.graphics.Color)4282330966 (0xFF3F2F56)
YUV56.2300, 14.6766, 5.9373

Details

The YUV color 56.2300, 14.6766, 5.9373 is a dark color, and the websafe version is hex 333366. A complement of this color would be 76.7700, -14.6766, -5.9373, and the grayscale version is 56.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 103.5830, 15.9816, 7.3817, and 10.9530, 14.8132, 8.8112 is the 20% darker color. If you saturate the color by 10%, you get 49.4520, 18.0182, 7.4966, and if you desaturate by 10%, it is 63.0080, 11.3351, 4.3780.

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 YUV color 56.2300, 14.6766, 5.9373 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 YUV color 56.2300, 14.6766, 5.9373 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%.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.254.4130, 0.2894, 0.5148The Color 254.4130, 0.2894, 0.5148.235.8840, 9.4242, 10.6257The Color 235.8840, 9.4242, 10.6257.209.7510, 17.8708, 8.1114The Color 209.7510, 17.8708, 8.1114.181.6370, 17.4340, 8.2114The Color 181.6370, 17.4340, 8.2114.155.1100, 16.7078, 7.7965The Color 155.1100, 16.7078, 7.7965.128.6970, 16.4184, 7.2817The Color 128.6970, 16.4184, 7.2817.103.5830, 15.9816, 7.3817The Color 103.5830, 15.9816, 7.3817.79.7570, 15.4028, 6.3521The Color 79.7570, 15.4028, 6.3521.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.2.7530, 8.0098, -2.4144The Color 2.7530, 8.0098, -2.4144.10.9530, 14.8132, 8.8112The Color 10.9530, 14.8132, 8.8112.34.4040, 14.0978, 4.9077The Color 34.4040, 14.0978, 4.9077.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.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.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.20.2690, 32.4054, 12.9191The Color 20.2690, 32.4054, 12.9191.23.5140, 30.8056, 12.7042The Color 23.5140, 30.8056, 12.7042.30.2920, 27.4640, 11.1449The Color 30.2920, 27.4640, 11.1449.36.4830, 24.4119, 10.1004The Color 36.4830, 24.4119, 10.1004.43.2610, 21.0703, 8.5411The Color 43.2610, 21.0703, 8.5411.49.4520, 18.0182, 7.4966The Color 49.4520, 18.0182, 7.4966.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.115.1830, -14.3872, -5.4225The Color 115.1830, -14.3872, -5.4225.108.9920, -11.3351, -4.3780The Color 108.9920, -11.3351, -4.3780.102.2140, -7.9935, -2.8187The Color 102.2140, -7.9935, -2.8187.95.7240, -4.7939, -2.3889The Color 95.7240, -4.7939, -2.3889.88.9460, -1.4524, -0.8296The Color 88.9460, -1.4524, -0.8296.82.1680, 1.8892, 0.7297The Color 82.1680, 1.8892, 0.7297.75.9770, 4.9413, 1.7742The Color 75.9770, 4.9413, 1.7742.69.1990, 8.2829, 3.3335The Color 69.1990, 8.2829, 3.3335.63.0080, 11.3351, 4.3780The Color 63.0080, 11.3351, 4.3780.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.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.51.0740, 21.1625, -21.1129The Color 51.0740, 21.1625, -21.1129.55.6900, 7.0548, 23.9509The Color 55.6900, 7.0548, 23.9509.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.51.0740, 21.1625, -21.1129The Color 51.0740, 21.1625, -21.1129.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.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.44.4080, 7.6869, -38.9458The Color 44.4080, 7.6869, -38.9458.53.1370, -17.8155, 20.9279The Color 53.1370, -17.8155, 20.9279.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.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.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.76.7700, -14.6766, -5.9373The Color 76.7700, -14.6766, -5.9373.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.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.42.6230, -1.7861, -33.8724The Color 42.6230, -1.7861, -33.8724.51.5930, -19.5193, 7.3729The Color 51.5930, -19.5193, 7.3729.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.42.6230, -1.7861, -33.8724The Color 42.6230, -1.7861, -33.8724.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.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.46.5740, 15.9860, -40.8454The Color 46.5740, 15.9860, -40.8454.49.3890, -13.5028, -9.1112The Color 49.3890, -13.5028, -9.1112.53.9130, -11.2961, 29.8943The Color 53.9130, -11.2961, 29.8943.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.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.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.43.6100, 4.6293, -38.2460The Color 43.6100, 4.6293, -38.2460.49.3890, -13.5028, -9.1112The Color 49.3890, -13.5028, -9.1112.55.1270, 0.9234, 30.5836The Color 55.1270, 0.9234, 30.5836.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.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.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.56.0000, 0.0000, 0.0000The Color 56.0000, 0.0000, 0.0000.184.0000, 0.0000, 0.0000The Color 184.0000, 0.0000, 0.0000.48.9230, 3.4890, 0.9445The Color 48.9230, 3.4890, 0.9445.64.9470, 10.3791, -15.7395The Color 64.9470, 10.3791, -15.7395.99.9170, 5.9569, 2.7038The Color 99.9170, 5.9569, 2.7038.56.2300, 14.6766, 5.9373The Color 56.2300, 14.6766, 5.9373.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#3F2F56
Advertisment

Previews

White Background

 

This preview shows how the YUV color 56.2300, 14.6766, 5.9373 looks on a white background.

The color contrast ratio for these colors is 11.98, 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 YUV color 56.2300, 14.6766, 5.9373 looks on a black background.

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

YUV 56.2300, 14.6766, 5.9373 Background

 

This preview shows how black text looks on a background with the YUV color 56.2300, 14.6766, 5.9373.

 

This preview shows how white text looks on a background with the YUV color 56.2300, 14.6766, 5.9373.

Color Blindness Simulation


Dichromacy

Original Color
56.2300, 14.6766, 5.9373
Protanopia
53.8470, 18.8094, -13.0208
Deuteranopia
53.8210, 14.8782, -12.1210
Tritanopia
55.0650, 1.4470, 2.5740

Trichromacy

Original Color
56.2300, 14.6766, 5.9373
Protanomaly
54.5490, 17.4773, -5.7435
Deuteranomaly
54.5660, 15.0040, -5.7584
Tritanomaly
55.6290, 6.0989, 3.8334

Monochromacy

Original Color
56.2300, 14.6766, 5.9373
Achromatopsia
56.0000, 0.0000, 0.0000
Achromatomaly
56.3900, 5.2307, 2.2890
Advertisment

CSS Examples


The CSS property to change the color of the text to YUV 56.2300, 14.6766, 5.9373 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(63, 47, 86) }.

This example shows how text in the color rgb(63, 47, 86) looks like.

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

Here you see how black text with a 4 pixel rgb(63, 47, 86) 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 YUV 56.2300, 14.6766, 5.9373 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(63, 47, 86) }.

If only the border color should be changed .border{ border-color:rgb(63, 47, 86) } can be used.

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

Background

The CSS property to change the background color of an element to YUV 56.2300, 14.6766, 5.9373 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(63, 47, 86) }.

If only the background color should be changed .background{ background-color:rgb(63, 47, 86) } 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, "3F2F56", 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 "265°, 45%, 34%" 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(265°, 45%, 34%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(22.87, 16.59, -21.00)", "CIELCH(23, 26.764, 308.304)", "YXY(3.7617, 0.2668, 0.2115)" and "CMYK(0.27, 0.45, 0.00, 0.66)".


Advertisment