Converting Colors

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

Conversions

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

FormatColor
HSL264°, 32%, 45%
CIELCh39, 45.535, 308.283
Yxy10.8089, 0.2576, 0.1937
Android (android.graphics.Color)4285222551 (0xFF6B4E97)
YUV94.9930, 27.6115, 10.5301

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


Details

The YUV color 94.9930, 27.6115, 10.5301 is a dark color, and the websafe version is hex 663366. A complement of this color would be 134.0070, -27.6115, -10.5301, and the grayscale version is 95.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 146.4600, 29.3532, 11.8746, and 46.9280, 26.1645, 7.9561 is the 20% darker color. If you saturate the color by 10%, you get 83.4970, 33.2790, 12.7191, and if you desaturate by 10%, it is 106.4890, 21.9439, 8.3411.

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 YUV color 94.9930, 27.6115, 10.5301 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%.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.244.4340, 5.2090, 9.2664The Color 244.4340, 5.2090, 9.2664.225.0080, 14.7861, 17.5330The Color 225.0080, 14.7861, 17.5330.199.9010, 27.1638, 14.1188The Color 199.9010, 27.1638, 14.1188.173.2860, 29.9320, 12.9042The Color 173.2860, 29.9320, 12.9042.146.4600, 29.3532, 11.8746The Color 146.4600, 29.3532, 11.8746.119.9330, 28.6270, 11.4598The Color 119.9330, 28.6270, 11.4598.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.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%.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.4.5940, 12.5252, -4.0289The Color 4.5940, 12.5252, -4.0289.9.5160, 20.9446, 2.1785The Color 9.5160, 20.9446, 2.1785.24.2760, 25.0069, 5.8969The Color 24.2760, 25.0069, 5.8969.46.9280, 26.1645, 7.9561The Color 46.9280, 26.1645, 7.9561.70.7540, 26.7433, 8.9857The Color 70.7540, 26.7433, 8.9857.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 94.9930, 27.6115, 10.5301 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.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.35.1540, 57.1121, 21.7899The Color 35.1540, 57.1121, 21.7899.37.2140, 56.0965, 20.8603The Color 37.2140, 56.0965, 20.8603.49.0090, 50.2816, 19.2861The Color 49.0090, 50.2816, 19.2861.60.5050, 44.6140, 17.0971The Color 60.5050, 44.6140, 17.0971.72.0010, 38.9465, 14.9081The Color 72.0010, 38.9465, 14.9081.83.4970, 33.2790, 12.7191The Color 83.4970, 33.2790, 12.7191.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.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.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.199.3430, -23.8331, -9.0708The Color 199.3430, -23.8331, -9.0708.187.8470, -18.1656, -6.8818The Color 187.8470, -18.1656, -6.8818.176.3510, -12.4980, -4.6928The Color 176.3510, -12.4980, -4.6928.164.8550, -6.8305, -2.5038The Color 164.8550, -6.8305, -2.5038.153.3590, -1.1630, -0.3148The Color 153.3590, -1.1630, -0.3148.140.9770, 4.9413, 1.7742The Color 140.9770, 4.9413, 1.7742.129.4810, 10.6089, 3.9632The Color 129.4810, 10.6089, 3.9632.117.9850, 16.2764, 6.1522The Color 117.9850, 16.2764, 6.1522.106.4890, 21.9439, 8.3411The Color 106.4890, 21.9439, 8.3411.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.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.79.7940, 42.4996, -51.5623The Color 79.7940, 42.4996, -51.5623.93.5430, 13.5363, 45.1278The Color 93.5430, 13.5363, 45.1278.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.79.7940, 42.4996, -51.5623The Color 79.7940, 42.4996, -51.5623.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.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.76.1980, 12.7204, -66.8256The Color 76.1980, 12.7204, -66.8256.89.1810, -34.5992, 37.5523The Color 89.1810, -34.5992, 37.5523.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.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.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.134.0070, -27.6115, -10.5301The Color 134.0070, -27.6115, -10.5301.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.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.70.6920, -3.2992, -61.9969The Color 70.6920, -3.2992, -61.9969.85.9470, -39.9069, 13.2015The Color 85.9470, -39.9069, 13.2015.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.70.6920, -3.2992, -61.9969The Color 70.6920, -3.2992, -61.9969.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.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.79.7150, 28.7345, -69.9101The Color 79.7150, 28.7345, -69.9101.82.3050, -26.2794, -17.8075The Color 82.3050, -26.2794, -17.8075.89.3740, -20.3974, 55.8000The Color 89.3740, -20.3974, 55.8000.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.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.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.74.7160, 7.0420, -65.5259The Color 74.7160, 7.0420, -65.5259.82.3050, -26.2794, -17.8075The Color 82.3050, -26.2794, -17.8075.90.7590, 2.5838, 58.0934The Color 90.7590, 2.5838, 58.0934.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.99.0000, 0.0000, 0.0000The Color 99.0000, 0.0000, 0.0000.227.0000, 0.0000, 0.0000The Color 227.0000, 0.0000, 0.0000.86.0310, 6.3937, 2.6038The Color 86.0310, 6.3937, 2.6038.112.7370, 18.8637, -30.4643The Color 112.7370, 18.8637, -30.4643.173.8940, 10.8983, 4.4780The Color 173.8940, 10.8983, 4.4780.94.9930, 27.6115, 10.5301The Color 94.9930, 27.6115, 10.5301.Sweetspot

SVG Images

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

#6B4E97

Previews

White Background

This preview shows how the YUV color 94.9930, 27.6115, 10.5301 looks on a white background.

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

Black Background

This preview shows how the YUV color 94.9930, 27.6115, 10.5301 looks on a black background.

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

YUV 94.9930, 27.6115, 10.5301 Background

This preview shows how black text looks on a background with the YUV color 94.9930, 27.6115, 10.5301.

This preview shows how white text looks on a background with the YUV color 94.9930, 27.6115, 10.5301.


CSS Examples


The CSS property to change the color of the text to YUV 94.9930, 27.6115, 10.5301 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(107, 78, 151) }.

This example shows how text in the color rgb(107, 78, 151) looks like.

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

Here you see how black text with a 4 pixel rgb(107, 78, 151) 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 94.9930, 27.6115, 10.5301 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(107, 78, 151) }.

If only the border color should be changed .border{ border-color:rgb(107, 78, 151) } can be used.

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

Background

The CSS property to change the background color of an element to YUV 94.9930, 27.6115, 10.5301 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(107, 78, 151) }.

If only the background color should be changed .background{ background-color:rgb(107, 78, 151) } 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, "6B4E97", 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 "264°, 48%, 59%" 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(264°, 48%, 59%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(39.26, 28.21, -35.74)", "CIELCH(39, 45.535, 308.283)", "YXY(10.8089, 0.2576, 0.1937)" and "CMYK(0.29, 0.48, 0.00, 0.41)".