Converting Colors

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

Conversions

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

FormatColor
HSL302°, 93%, 62%
CIELCh62, 98.412, 328.766
Yxy30.8078, 0.3250, 0.1754
Android (android.graphics.Color)4294461171 (0xFFF846F3)
YUV142.9440, 49.3276, 92.1341

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


Details

The XYZ color 57.0792, 30.8078, 87.7321 is a light color, and the websafe version is hex FF66FF. The color can be described as light washed magenta. A complement of this color would be 37.3646, 68.9463, 17.9970, and the grayscale version is 25.8834, 27.2314, 29.6550.

A 20% lighter version of the original color is 67.8151, 45.5302, 99.8217, and 29.3564, 14.1100, 47.6306 is the 20% darker color. If you saturate the color by 10%, you get 55.7310, 28.2785, 86.7647, and if you desaturate by 10%, it is 59.0701, 34.6200, 88.9162.

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 57.0792, 30.8078, 87.7321 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%.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.403.7554, 305.6519, 541.0041The Color 403.7554, 305.6519, 541.0041.342.6519, 254.3545, 463.0824The Color 342.6519, 254.3545, 463.0824.288.0468, 209.1439, 393.0268The Color 288.0468, 209.1439, 393.0268.239.5749, 169.6356, 330.4188The Color 239.5749, 169.6356, 330.4188.196.8708, 135.4451, 274.8399The Color 196.8708, 135.4451, 274.8399.159.5691, 106.1882, 225.8714The Color 159.5691, 106.1882, 225.8714.127.3044, 81.4804, 183.0950The Color 127.3044, 81.4804, 183.0950.99.7114, 60.9373, 146.0920The Color 99.7114, 60.9373, 146.0920.76.4248, 44.1746, 114.4439The Color 76.4248, 44.1746, 114.4439.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.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%.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.0.0000, 0.0000, 0.2341The Color 0.0000, 0.0000, 0.2341.0.1965, 0.0000, 1.5218The Color 0.1965, 0.0000, 1.5218.1.3178, 0.0000, 3.8102The Color 1.3178, 0.0000, 3.8102.3.3064, 0.2596, 7.6866The Color 3.3064, 0.2596, 7.6866.6.6786, 1.4590, 13.5696The Color 6.6786, 1.4590, 13.5696.11.7995, 3.6121, 21.8778The Color 11.7995, 3.6121, 21.8778.19.0347, 7.2391, 33.0295The Color 19.0347, 7.2391, 33.0295.28.7495, 12.7244, 47.4435The Color 28.7495, 12.7244, 47.4435.41.3092, 20.4525, 65.5381The Color 41.3092, 20.4525, 65.5381.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 57.0792, 30.8078, 87.7321 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.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.54.5941, 26.3096, 85.4461The Color 54.5941, 26.3096, 85.4461.54.9374, 26.8588, 85.9839The Color 54.9374, 26.8588, 85.9839.55.7310, 28.2785, 86.7647The Color 55.7310, 28.2785, 86.7647.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.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.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.91.6132, 98.3333, 103.9966The Color 91.6132, 98.3333, 103.9966.91.5046, 98.2898, 103.4243The Color 91.5046, 98.2898, 103.4243.87.8697, 91.1932, 101.6787The Color 87.8697, 91.1932, 101.6787.80.8103, 77.2471, 98.7935The Color 80.8103, 77.2471, 98.7935.74.7149, 65.2281, 96.2316The Color 74.7149, 65.2281, 96.2316.69.5408, 55.0514, 93.9788The Color 69.5408, 55.0514, 93.9788.65.2426, 46.6255, 92.0199The Color 65.2426, 46.6255, 92.0199.61.7705, 39.8514, 90.3385The Color 61.7705, 39.8514, 90.3385.59.0701, 34.6200, 88.9162The Color 59.0701, 34.6200, 88.9162.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.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.4102, 30.8078, 147.5962The Color 43.4102, 30.8078, 147.5962.63.0574, 30.8078, 35.1479The Color 63.0574, 30.8078, 35.1479.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.43.4102, 30.8078, 147.5962The Color 43.4102, 30.8078, 147.5962.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.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.12.0856, 30.8078, 82.6437The Color 12.0856, 30.8078, 82.6437.29.8365, 30.8078, 0.6364The Color 29.8365, 30.8078, 0.6364.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.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.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.37.3646, 68.9463, 17.9970The Color 37.3646, 68.9463, 17.9970.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.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.10.4204, 30.8078, 31.9906The Color 10.4204, 30.8078, 31.9906.18.6091, 30.8078, 1.5828The Color 18.6091, 30.8078, 1.5828.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.10.4204, 30.8078, 31.9906The Color 10.4204, 30.8078, 31.9906.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.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.17.9123, 30.8078, 143.3981The Color 17.9123, 30.8078, 143.3981.12.3937, 30.8078, 8.0808The Color 12.3937, 30.8078, 8.0808.44.6633, 30.8078, 1.7980The Color 44.6633, 30.8078, 1.7980.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.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.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.11.1158, 30.8078, 63.0915The Color 11.1158, 30.8078, 63.0915.12.3937, 30.8078, 8.0808The Color 12.3937, 30.8078, 8.0808.60.8247, 30.8078, 15.0541The Color 60.8247, 30.8078, 15.0541.57.0792, 30.8078, 87.7321The Color 57.0792, 30.8078, 87.7321.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.57.0804, 30.8092, 87.7327The Color 57.0804, 30.8092, 87.7327.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.16.6637, 14.1394, 21.7825The Color 16.6637, 14.1394, 21.7825.21.8800, 12.5743, 90.0821The Color 21.8800, 12.5743, 90.0821.79.4376, 69.1797, 102.4491The Color 79.4376, 69.1797, 102.4491.57.0804, 30.8092, 87.7327The Color 57.0804, 30.8092, 87.7327.Sweetspot

SVG Images

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

#F846F3

Previews

White Background

This preview shows how the XYZ color 57.0792, 30.8078, 87.7321 looks on a white background. The color contrast ratio for these colors is 2.93, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

This preview shows how the XYZ color 57.0792, 30.8078, 87.7321 looks on a black background. The color contrast ratio for these colors is 7.16, 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/.

XYZ 57.0792, 30.8078, 87.7321 Background

This preview shows how black text looks on a background with the XYZ color 57.0792, 30.8078, 87.7321.

This preview shows how white text looks on a background with the XYZ color 57.0792, 30.8078, 87.7321.


CSS Examples


The CSS property to change the color of the text to XYZ 57.0792, 30.8078, 87.7321 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(248, 70, 243) }.

This example shows how text in the color rgb(248, 70, 243) looks like.

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

Here you see how black text with a 4 pixel rgb(248, 70, 243) 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 57.0792, 30.8078, 87.7321 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(248, 70, 243) }.

If only the border color should be changed .border{ border-color:rgb(248, 70, 243) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 57.0792, 30.8078, 87.7321 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(248, 70, 243) }.

If only the background color should be changed .background{ background-color:rgb(248, 70, 243) } 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, "F846F3", 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 "302°, 72%, 97%" 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(302°, 72%, 97%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(62.35, 84.15, -51.03)", "CIELCH(62, 98.412, 328.766)", "YXY(30.8078, 0.3250, 0.1754)" and "CMYK(0.00, 0.72, 0.02, 0.03)".