Converting Colors

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

FormatColor
HSL245°, 76%, 49%
CIELCh31, 111.510, 305.626
Yxy6.8068, 0.1624, 0.0746
Android (android.graphics.Color)4281278174 (0xFF2F1EDE)
YUV56.9710, 81.3593, -8.7446

Add this color to the bucket
(The bucket allows you to create a color palette)

Go to the color bucket to see your palette.

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


Details

The Yxy color 6.8068, 0.1624, 0.0746 is a dark color, and the websafe version is hex 3300CC. The color can be described as dark washed blue. A complement of this color would be 65.2981, 0.4027, 0.5104, and the grayscale version is 3.9867, 0.3127, 0.3290.

A 20% lighter version of the original color is 17.7665, 0.2058, 0.1235, and 2.7166, 0.1500, 0.0600 is the 20% darker color. If you saturate the color by 10%, you get 5.6723, 0.1543, 0.0638, and if you desaturate by 10%, it is 8.9503, 0.1752, 0.0936.

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 Yxy color 6.8068, 0.1624, 0.0746 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%.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.166.0486, 0.2509, 0.1932The Color 166.0486, 0.2509, 0.1932.132.3597, 0.2462, 0.1852The Color 132.3597, 0.2462, 0.1852.103.5665, 0.2408, 0.1763The Color 103.5665, 0.2408, 0.1763.79.2847, 0.2346, 0.1664The Color 79.2847, 0.2346, 0.1664.59.1300, 0.2273, 0.1553The Color 59.1300, 0.2273, 0.1553.42.7177, 0.2187, 0.1427The Color 42.7177, 0.2187, 0.1427.29.6637, 0.2084, 0.1285The Color 29.6637, 0.2084, 0.1285.19.5835, 0.1960, 0.1125The Color 19.5835, 0.1960, 0.1125.12.0926, 0.1809, 0.0945The Color 12.0926, 0.1809, 0.0945.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.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%.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0431, 0.0000The Color 0.0000, 0.0431, 0.0000.0.1509, 0.0796, 0.0058The Color 0.1509, 0.0796, 0.0058.1.3126, 0.1119, 0.0316The Color 1.3126, 0.1119, 0.0316.3.3416, 0.1396, 0.0532The Color 3.3416, 0.1396, 0.0532.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Yxy color 6.8068, 0.1624, 0.0746 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.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.5.4173, 0.1525, 0.0613The Color 5.4173, 0.1525, 0.0613.5.6723, 0.1543, 0.0638The Color 5.6723, 0.1543, 0.0638.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.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.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.78.4307, 0.3172, 0.3373The Color 78.4307, 0.3172, 0.3373.63.7280, 0.3038, 0.3128The Color 63.7280, 0.3038, 0.3128.50.9136, 0.2884, 0.2850The Color 50.9136, 0.2884, 0.2850.39.9109, 0.2710, 0.2542The Color 39.9109, 0.2710, 0.2542.30.6380, 0.2519, 0.2208The Color 30.6380, 0.2519, 0.2208.23.0068, 0.2317, 0.1860The Color 23.0068, 0.2317, 0.1860.16.9213, 0.2112, 0.1516The Color 16.9213, 0.2112, 0.1516.12.2756, 0.1919, 0.1200The Color 12.2756, 0.1919, 0.1200.8.9503, 0.1752, 0.0936The Color 8.9503, 0.1752, 0.0936.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.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.6.8068, 0.0678, 0.0610The Color 6.8068, 0.0678, 0.0610.6.8068, 0.3821, 0.1197The Color 6.8068, 0.3821, 0.1197.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.6.8068, 0.0678, 0.0610The Color 6.8068, 0.0678, 0.0610.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.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.6.8068, 0.0325, 0.3740The Color 6.8068, 0.0325, 0.3740.6.8068, 0.6362, 0.3638The Color 6.8068, 0.6362, 0.3638.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.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.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.65.2981, 0.4027, 0.5104The Color 65.2981, 0.4027, 0.5104.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.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.6.8068, 0.1002, 0.8311The Color 6.8068, 0.1002, 0.8311.6.8068, 0.4462, 0.5538The Color 6.8068, 0.4462, 0.5538.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.6.8068, 0.1002, 0.8311The Color 6.8068, 0.1002, 0.8311.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.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.6.8068, 0.0219, 0.1340The Color 6.8068, 0.0219, 0.1340.6.8068, 0.2315, 0.7685The Color 6.8068, 0.2315, 0.7685.6.8068, 0.7410, 0.2590The Color 6.8068, 0.7410, 0.2590.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.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.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.6.8068, 0.0461, 0.5351The Color 6.8068, 0.0461, 0.5351.6.8068, 0.2315, 0.7685The Color 6.8068, 0.2315, 0.7685.6.8068, 0.5869, 0.1675The Color 6.8068, 0.5869, 0.1675.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.21.4041, 0.3127, 0.3290The Color 21.4041, 0.3127, 0.3290.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.10.7689, 0.2650, 0.2437The Color 10.7689, 0.2650, 0.2437.49.6795, 0.2205, 0.3062The Color 49.6795, 0.2205, 0.3062.55.0307, 0.2715, 0.2551The Color 55.0307, 0.2715, 0.2551.6.8068, 0.1624, 0.0746The Color 6.8068, 0.1624, 0.0746.Sweetspot

SVG Images

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

#2F1EDE

Previews

White Background

This preview shows how the Yxy color 6.8068, 0.1624, 0.0746 looks on a white background.

The color contrast ratio for these colors is 8.89, 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 Yxy color 6.8068, 0.1624, 0.0746 looks on a black background.

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

Yxy 6.8068, 0.1624, 0.0746 Background

This preview shows how black text looks on a background with the Yxy color 6.8068, 0.1624, 0.0746.

This preview shows how white text looks on a background with the Yxy color 6.8068, 0.1624, 0.0746.


CSS Examples


The CSS property to change the color of the text to Yxy 6.8068, 0.1624, 0.0746 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(47, 30, 222) }.

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

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

Here you see how black text with a 4 pixel rgb(47, 30, 222) 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 Yxy 6.8068, 0.1624, 0.0746 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(47, 30, 222) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 6.8068, 0.1624, 0.0746 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(47, 30, 222) }.

If only the background color should be changed .background{ background-color:rgb(47, 30, 222) } 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, "2F1EDE", 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 "245°, 86%, 87%" 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(245°, 86%, 87%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(31.36, 64.95, -90.64)", "CIELCH(31, 111.510, 305.626)", "YXY(6.8068, 0.1624, 0.0746)" and "CMYK(0.79, 0.86, 0.00, 0.13)".