Converting Colors

Advertisment

Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 1
FormatColor
Hex10344E
RGB16, 52, 78
RGB Percent6%, 20%, 31%
CMY0.9390, 0.7962, 0.6937
CMYK0.80, 0.33, 0.00, 0.69
HSL205°, 67%, 18%
HSV205°, 80%, 31%
XYZ2.8113, 3.1105, 7.6790
Conversions Part 2
FormatColor
RYB16, 39, 78
Decimal1061966
CIELab20.48, -2.62, -19.73
CIELCh20, 19.906, 262.446
Yxy3.1105, 0.2067, 0.2287
Android (android.graphics.Color)4279252046 (0xFF10344E)
YUV44.2000, 16.6634, -24.7314

Details

The Yxy color 3.1105, 0.2067, 0.2287 is a dark color, and the websafe version is hex 003366. A complement of this color would be 3.2945, 0.4920, 0.3995, and the grayscale version is 2.5101, 0.3127, 0.3290.

A 20% lighter version of the original color is 11.4966, 0.2415, 0.2624, and 0.2457, 0.1652, 0.1147 is the 20% darker color. If you saturate the color by 10%, you get 2.7731, 0.1976, 0.2139, and if you desaturate by 10%, it is 3.4921, 0.2173, 0.2434.

Advertisment

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 & Saturation Gradients

These gradients show how the Yxy color 3.1105, 0.2067, 0.2287 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Similar to the brightness gradients but the following saturation gradients show a change of the Yxy color 3.1105, 0.2067, 0.2287 by changing the saturation by 10% instead.

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%.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.129.6293, 0.2798, 0.2986The Color 129.6293, 0.2798, 0.2986.101.2494, 0.2770, 0.2960The Color 101.2494, 0.2770, 0.2960.77.3471, 0.2737, 0.2930The Color 77.3471, 0.2737, 0.2930.57.5378, 0.2698, 0.2893The Color 57.5378, 0.2698, 0.2893.41.4371, 0.2650, 0.2848The Color 41.4371, 0.2650, 0.2848.28.6608, 0.2590, 0.2791The Color 28.6608, 0.2590, 0.2791.18.8244, 0.2514, 0.2719The Color 18.8244, 0.2514, 0.2719.11.5435, 0.2413, 0.2622The Color 11.5435, 0.2413, 0.2622.6.4336, 0.2272, 0.2487The Color 6.4336, 0.2272, 0.2487.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0533, 0.0000, 0.0339The Color 0.0533, 0.0000, 0.0339.1.1897, 0.1743, 0.1966The Color 1.1897, 0.1743, 0.1966.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.2.4638, 0.1886, 0.1990The Color 2.4638, 0.1886, 0.1990.2.7731, 0.1976, 0.2139The Color 2.7731, 0.1976, 0.2139.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.8.4583, 0.3261, 0.3376The Color 8.4583, 0.3261, 0.3376.7.6324, 0.3126, 0.3289The Color 7.6324, 0.3126, 0.3289.6.8688, 0.2987, 0.3194The Color 6.8688, 0.2987, 0.3194.6.1657, 0.2845, 0.3089The Color 6.1657, 0.2845, 0.3089.5.5214, 0.2702, 0.2974The Color 5.5214, 0.2702, 0.2974.4.9340, 0.2561, 0.2850The Color 4.9340, 0.2561, 0.2850.4.4014, 0.2423, 0.2718The Color 4.4014, 0.2423, 0.2718.3.9216, 0.2293, 0.2578The Color 3.9216, 0.2293, 0.2578.3.4921, 0.2173, 0.2434The Color 3.4921, 0.2173, 0.2434.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.3.1105, 0.1926, 0.2579The Color 3.1105, 0.1926, 0.2579.3.1105, 0.2463, 0.2249The Color 3.1105, 0.2463, 0.2249.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.3.1105, 0.1926, 0.2579The Color 3.1105, 0.1926, 0.2579.Analogous

🖌️ View as Color Bucket

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.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.3.1105, 0.3056, 0.4416The Color 3.1105, 0.3056, 0.4416.3.1105, 0.4322, 0.3263The Color 3.1105, 0.4322, 0.3263.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Triad

🖌️ View as Color Bucket

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.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.3.2945, 0.4920, 0.3995The Color 3.2945, 0.4920, 0.3995.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Complementary

🖌️ View as Color Bucket

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.3.1105, 0.3716, 0.4536The Color 3.1105, 0.3716, 0.4536.3.1105, 0.4490, 0.3780The Color 3.1105, 0.4490, 0.3780.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.3.1105, 0.3716, 0.4536The Color 3.1105, 0.3716, 0.4536.Split Complementary

🖌️ View as Color Bucket

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.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.3.1105, 0.2450, 0.3855The Color 3.1105, 0.2450, 0.3855.3.1105, 0.4249, 0.4254The Color 3.1105, 0.4249, 0.4254.3.1105, 0.3779, 0.2789The Color 3.1105, 0.3779, 0.2789.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Square

🖌️ View as Color Bucket

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.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.3.1105, 0.3279, 0.4510The Color 3.1105, 0.3279, 0.4510.3.1105, 0.4249, 0.4254The Color 3.1105, 0.4249, 0.4254.3.1105, 0.2854, 0.2348The Color 3.1105, 0.2854, 0.2348.3.1105, 0.2067, 0.2287The Color 3.1105, 0.2067, 0.2287.Rectangle

🖌️ View as Color Bucket

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.3.1106, 0.2067, 0.2287The Color 3.1106, 0.2067, 0.2287.3.3105, 0.3127, 0.3290The Color 3.3105, 0.3127, 0.3290.44.7988, 0.3127, 0.3290The Color 44.7988, 0.3127, 0.3290.2.4809, 0.2749, 0.3012The Color 2.4809, 0.2749, 0.3012.5.7340, 0.2752, 0.4712The Color 5.7340, 0.2752, 0.4712.10.1732, 0.2777, 0.3035The Color 10.1732, 0.2777, 0.3035.3.1106, 0.2067, 0.2287The Color 3.1106, 0.2067, 0.2287.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#10344E
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 3.1105, 0.2067, 0.2287 looks on a white background.

The color contrast ratio for these colors is 12.94, 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 3.1105, 0.2067, 0.2287 looks on a black background.

The color contrast ratio for these colors is 1.62, 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 3.1105, 0.2067, 0.2287 Background

 

This preview shows how black text looks on a background with the Yxy color 3.1105, 0.2067, 0.2287.

 

This preview shows how white text looks on a background with the Yxy color 3.1105, 0.2067, 0.2287.

Color Blindness Simulation


Dichromacy

Original Color
3.1162, 0.2072, 0.2292
Protanopia
3.1557, 0.2404, 0.2339
Deuteranopia
3.1691, 0.2240, 0.2233
Tritanopia
3.0481, 0.2196, 0.3105

Trichromacy

Original Color
3.1162, 0.2072, 0.2292
Protanomaly
3.0943, 0.2250, 0.2313
Deuteranomaly
3.1652, 0.2167, 0.2251
Tritanomaly
3.0704, 0.2148, 0.2774

Monochromacy

Original Color
3.1162, 0.2072, 0.2292
Achromatopsia
2.5187, 0.3127, 0.3290
Achromatomaly
2.6586, 0.2604, 0.2897
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 3.1105, 0.2067, 0.2287 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(16, 52, 78) }.

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

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

Here you see how black text with a 4 pixel rgb(16, 52, 78) 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 3.1105, 0.2067, 0.2287 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(16, 52, 78) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 3.1105, 0.2067, 0.2287 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(16, 52, 78) }.

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

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "10344E", 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 "205°, 80%, 31%" 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(205°, 80%, 31%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(20.48, -2.62, -19.73)", "CIELCH(20, 19.906, 262.446)", "YXY(3.1105, 0.2067, 0.2287)" and "CMYK(0.80, 0.33, 0.00, 0.69)".


Advertisment