Converting Colors

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

Conversions

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

FormatColor
HSL300°, 19%, 60%
CIELCh60, 26.254, 325.655
Yxy28.5108, 0.3153, 0.2740
Android (android.graphics.Color)4289496492 (0xFFAC85AC)
YUV149.1070, 11.2862, 20.0772

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


Details

The XYZ color 32.8142, 28.5108, 42.7464 is a light color, and the websafe version is hex CC99CC. A complement of this color would be 28.6426, 36.1463, 27.6652, and the grayscale version is 28.5476, 30.0343, 32.7073.

A 20% lighter version of the original color is 63.4189, 57.1578, 80.3631, and 14.0912, 11.4645, 19.2395 is the 20% darker color. If you saturate the color by 10%, you get 30.6506, 24.1834, 42.0243, and if you desaturate by 10%, it is 35.3647, 33.6109, 43.5981.

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 32.8142, 28.5108, 42.7464 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%.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.306.4915, 294.8997, 373.4583The Color 306.4915, 294.8997, 373.4583.255.9090, 244.8490, 313.0056The Color 255.9090, 244.8490, 313.0056.211.2224, 200.8082, 259.4562The Color 211.2224, 200.8082, 259.4562.172.0665, 162.3929, 212.3915The Color 172.0665, 162.3929, 212.3915.138.0759, 129.2187, 171.3932The Color 138.0759, 129.2187, 171.3932.108.8851, 100.9012, 136.0425The Color 108.8851, 100.9012, 136.0425.84.1289, 77.0561, 105.9211The Color 84.1289, 77.0561, 105.9211.63.4420, 57.2989, 80.6103The Color 63.4420, 57.2989, 80.6103.46.4588, 41.2453, 59.6916The Color 46.4588, 41.2453, 59.6916.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.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%.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5657, 0.0385, 1.0819The Color 0.5657, 0.0385, 1.0819.1.8810, 1.1718, 2.9751The Color 1.8810, 1.1718, 2.9751.4.3135, 3.0764, 6.3305The Color 4.3135, 3.0764, 6.3305.8.2577, 6.3783, 11.5669The Color 8.2577, 6.3783, 11.5669.14.0790, 11.4617, 19.1026The Color 14.0790, 11.4617, 19.1026.22.1427, 18.7111, 29.3563The Color 22.1427, 18.7111, 29.3563.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 32.8142, 28.5108, 42.7464 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.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.24.4236, 11.7321, 39.9406The Color 24.4236, 11.7321, 39.9406.24.5638, 12.0121, 39.9882The Color 24.5638, 12.0121, 39.9882.24.8852, 12.6547, 40.0965The Color 24.8852, 12.6547, 40.0965.25.4435, 13.7709, 40.2838The Color 25.4435, 13.7709, 40.2838.26.2725, 15.4284, 40.5613The Color 26.2725, 15.4284, 40.5613.27.4005, 17.6841, 40.9386The Color 27.4005, 17.6841, 40.9386.28.8525, 20.5876, 41.4237The Color 28.8525, 20.5876, 41.4237.30.6506, 24.1834, 42.0243The Color 30.6506, 24.1834, 42.0243.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.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.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.60.1877, 83.2537, 51.8820The Color 60.1877, 83.2537, 51.8820.60.1874, 83.2536, 51.8807The Color 60.1874, 83.2536, 51.8807.59.6600, 82.1993, 51.7037The Color 59.6600, 82.1993, 51.7037.54.4659, 71.8114, 49.9712The Color 54.4659, 71.8114, 49.9712.49.7482, 62.3764, 48.3974The Color 49.7482, 62.3764, 48.3974.45.4936, 53.8676, 46.9780The Color 45.4936, 53.8676, 46.9780.41.6881, 46.2569, 45.7083The Color 41.6881, 46.2569, 45.7083.38.3169, 39.5150, 44.5834The Color 38.3169, 39.5150, 44.5834.35.3647, 33.6109, 43.5981The Color 35.3647, 33.6109, 43.5981.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.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.30.0048, 28.5108, 50.9779The Color 30.0048, 28.5108, 50.9779.34.0940, 28.5108, 32.4721The Color 34.0940, 28.5108, 32.4721.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.30.0048, 28.5108, 50.9779The Color 30.0048, 28.5108, 50.9779.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.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.21.6626, 28.5108, 39.7998The Color 21.6626, 28.5108, 39.7998.27.5930, 28.5108, 15.9612The Color 27.5930, 28.5108, 15.9612.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.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.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.28.6426, 36.1463, 27.6652The Color 28.6426, 36.1463, 27.6652.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.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.21.1323, 28.5108, 29.6573The Color 21.1323, 28.5108, 29.6573.24.3865, 28.5108, 17.1296The Color 24.3865, 28.5108, 17.1296.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.21.1323, 28.5108, 29.6573The Color 21.1323, 28.5108, 29.6573.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.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.23.6017, 28.5108, 49.0441The Color 23.6017, 28.5108, 49.0441.22.0886, 28.5108, 21.6989The Color 22.0886, 28.5108, 21.6989.30.9250, 28.5108, 18.0939The Color 30.9250, 28.5108, 18.0939.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.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.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.21.3209, 28.5108, 36.3303The Color 21.3209, 28.5108, 36.3303.22.0886, 28.5108, 21.6989The Color 22.0886, 28.5108, 21.6989.33.8359, 28.5108, 26.2960The Color 33.8359, 28.5108, 26.2960.32.8142, 28.5108, 42.7464The Color 32.8142, 28.5108, 42.7464.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.32.8151, 28.5120, 42.7470The Color 32.8151, 28.5120, 42.7470.15.4596, 16.2647, 17.7123The Color 15.4596, 16.2647, 17.7123.82.5889, 86.8899, 94.6231The Color 82.5889, 86.8899, 94.6231.14.5158, 14.3773, 17.3973The Color 14.5158, 14.3773, 17.3973.25.5010, 24.7414, 42.4076The Color 25.5010, 24.7414, 42.4076.67.0981, 66.7646, 80.1545The Color 67.0981, 66.7646, 80.1545.32.8151, 28.5120, 42.7470The Color 32.8151, 28.5120, 42.7470.Sweetspot

SVG Images

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

#AC85AC

Previews

White Background

This preview shows how the XYZ color 32.8142, 28.5108, 42.7464 looks on a white background.

The color contrast ratio for these colors is 3.13, 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 32.8142, 28.5108, 42.7464 looks on a black background.

The color contrast ratio for these colors is 6.70, 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 32.8142, 28.5108, 42.7464 Background

This preview shows how black text looks on a background with the XYZ color 32.8142, 28.5108, 42.7464.

This preview shows how white text looks on a background with the XYZ color 32.8142, 28.5108, 42.7464.


CSS Examples


The CSS property to change the color of the text to XYZ 32.8142, 28.5108, 42.7464 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(172, 133, 172) }.

This example shows how text in the color rgb(172, 133, 172) looks like.

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

Here you see how black text with a 4 pixel rgb(172, 133, 172) 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 32.8142, 28.5108, 42.7464 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(172, 133, 172) }.

If only the border color should be changed .border{ border-color:rgb(172, 133, 172) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 32.8142, 28.5108, 42.7464 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(172, 133, 172) }.

If only the background color should be changed .background{ background-color:rgb(172, 133, 172) } 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, "AC85AC", 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°, 23%, 67%" 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°, 23%, 67%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(60.35, 21.68, -14.81)", "CIELCH(60, 26.254, 325.655)", "YXY(28.5108, 0.3153, 0.2740)" and "CMYK(0.00, 0.23, 0.00, 0.33)".