Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL333°, 100%, 61%
CIELCh58, 78.289, 359.711
Yxy25.8338, 0.4668, 0.2540
Android (android.graphics.Color)4294915727 (0xFFFF368F)
YUV124.2450, 9.2462, 114.6721

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The XYZ color 47.4811, 25.8338, 28.3911 is a dark color, and the websafe version is hex FF3399. The color can be described as middle washed rose. A complement of this color would be 44.1196, 75.0368, 48.1223, and the grayscale version is 19.0955, 20.0900, 21.8780.

A 20% lighter version of the original color is 58.1554, 38.9660, 57.2794, and 23.7140, 11.9968, 11.4217 is the 20% darker color. If you saturate the color by 10%, you get 45.5924, 23.6679, 22.7940, and if you desaturate by 10%, it is 50.1268, 29.2960, 34.9128.

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 Gradient

These gradients show how the XYZ color 47.4811, 25.8338, 28.3911 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

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%.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.367.3485, 281.9653, 308.3016The Color 367.3485, 281.9653, 308.3016.310.0751, 233.4338, 255.3066The Color 310.0751, 233.4338, 255.3066.259.0873, 190.8174, 208.7617The Color 259.0873, 190.8174, 208.7617.214.0199, 153.7315, 168.2483The Color 214.0199, 153.7315, 168.2483.174.5073, 121.7920, 133.3478The Color 174.5073, 121.7920, 133.3478.140.1843, 94.6142, 103.6418The Color 140.1843, 94.6142, 103.6418.110.6856, 71.8139, 78.7116The Color 110.6856, 71.8139, 78.7116.85.6457, 53.0067, 58.1388The Color 85.6457, 53.0067, 58.1388.64.6993, 37.8081, 41.5048The Color 64.6993, 37.8081, 41.5048.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Brightness Gradient
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%.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.6357, 0.0000, 0.0000The Color 0.6357, 0.0000, 0.0000.2.0032, 0.0000, 0.0000The Color 2.0032, 0.0000, 0.0000.4.5249, 0.8722, 0.9774The Color 4.5249, 0.8722, 0.9774.8.5827, 2.4912, 2.7679The Color 8.5827, 2.4912, 2.7679.14.5418, 5.4125, 5.9860The Color 14.5418, 5.4125, 5.9860.22.7677, 10.0204, 11.0502The Color 22.7677, 10.0204, 11.0502.33.6257, 16.6993, 18.3791The Color 33.6257, 16.6993, 18.3791.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 47.4811, 25.8338, 28.3911 by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.44.2185, 22.4514, 17.6149The Color 44.2185, 22.4514, 17.6149.44.3274, 22.5395, 18.0514The Color 44.3274, 22.5395, 18.0514.45.5924, 23.6679, 22.7940The Color 45.5924, 23.6679, 22.7940.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.95.0499, 99.9999, 108.9000The Color 95.0499, 99.9999, 108.9000.86.1763, 85.4351, 96.1310The Color 86.1763, 85.4351, 96.1310.77.4546, 71.2786, 83.0908The Color 77.4546, 71.2786, 83.0908.69.8918, 59.1806, 71.2362The Color 69.8918, 59.1806, 71.2362.63.4362, 49.0439, 60.5309The Color 63.4362, 49.0439, 60.5309.58.0319, 40.7632, 50.9364The Color 58.0319, 40.7632, 50.9364.53.6180, 34.2233, 42.4117The Color 53.6180, 34.2233, 42.4117.50.1268, 29.2960, 34.9128The Color 50.1268, 29.2960, 34.9128.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Saturation Gradient

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.43.7467, 25.8338, 63.2348The Color 43.7467, 25.8338, 63.2348.43.8812, 25.8338, 9.4582The Color 43.8812, 25.8338, 9.4582.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.43.7467, 25.8338, 63.2348The Color 43.7467, 25.8338, 63.2348.Analogous

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.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.16.5060, 25.8338, 100.8878The Color 16.5060, 25.8338, 100.8878.16.6278, 25.8338, 2.8497The Color 16.6278, 25.8338, 2.8497.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Triad

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.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.44.1196, 75.0368, 48.1223The Color 44.1196, 75.0368, 48.1223.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Complementary

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.11.9446, 25.8338, 62.4602The Color 11.9446, 25.8338, 62.4602.12.0013, 25.8338, 9.2407The Color 12.0013, 25.8338, 9.2407.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.11.9446, 25.8338, 62.4602The Color 11.9446, 25.8338, 62.4602.Split Complementary

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.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.24.4630, 25.8338, 118.4015The Color 24.4630, 25.8338, 118.4015.10.5319, 25.8338, 27.8678The Color 10.5319, 25.8338, 27.8678.24.6457, 25.8338, 1.6100The Color 24.6457, 25.8338, 1.6100.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Square

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.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.14.6066, 25.8338, 89.1382The Color 14.6066, 25.8338, 89.1382.10.5319, 25.8338, 27.8678The Color 10.5319, 25.8338, 27.8678.38.2254, 25.8338, 4.2155The Color 38.2254, 25.8338, 4.2155.47.4811, 25.8338, 28.3911The Color 47.4811, 25.8338, 28.3911.Rectangle

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.47.4818, 25.8353, 28.3915The Color 47.4818, 25.8353, 28.3915.20.3446, 21.4041, 23.3091The Color 20.3446, 21.4041, 23.3091.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.15.1765, 13.0113, 15.5952The Color 15.1765, 13.0113, 15.5952.34.7323, 17.7485, 96.2027The Color 34.7323, 17.7485, 96.2027.73.5266, 64.9703, 77.0099The Color 73.5266, 64.9703, 77.0099.47.4818, 25.8353, 28.3915The Color 47.4818, 25.8353, 28.3915.Sweetspot

SVG Images

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

#FF368F

Previews

White Background

This preview shows how the XYZ color 47.4811, 25.8338, 28.3911 looks on a white background.

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

Black Background

This preview shows how the XYZ color 47.4811, 25.8338, 28.3911 looks on a black background.

The color contrast ratio for these colors is 6.18, 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/.

XYZ 47.4811, 25.8338, 28.3911 Background

This preview shows how black text looks on a background with the XYZ color 47.4811, 25.8338, 28.3911.

This preview shows how white text looks on a background with the XYZ color 47.4811, 25.8338, 28.3911.


CSS Examples


The CSS property to change the color of the text to XYZ 47.4811, 25.8338, 28.3911 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(255, 54, 143) }.

This example shows how text in the color rgb(255, 54, 143) looks like.

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

Here you see how black text with a 4 pixel rgb(255, 54, 143) 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 XYZ 47.4811, 25.8338, 28.3911 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(255, 54, 143) }.

If only the border color should be changed .border{ border-color:rgb(255, 54, 143) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 47.4811, 25.8338, 28.3911 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(255, 54, 143) }.

If only the background color should be changed .background{ background-color:rgb(255, 54, 143) } 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.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "FF368F", 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 "333°, 79%, 100%" 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(333°, 79%, 100%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(57.88, 78.29, -0.39)", "CIELCH(58, 78.289, 359.711)", "YXY(25.8338, 0.4668, 0.2540)" and "CMYK(0.00, 0.79, 0.44, 0.00)".