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
Hex868F78
RGB134, 143, 120
RGB Percent53%, 56%, 47%
CMY0.4760, 0.4384, 0.5282
CMYK0.07, 0.00, 0.16, 0.44
HSL85°, 9%, 52%
HSV85°, 16%, 56%
XYZ23.0348, 26.1089, 21.6889
Conversions Part 2
FormatColor
RYB120, 143, 129
Decimal8818552
CIELab58.14, -7.84, 11.02
CIELCh58, 13.525, 125.403
Yxy26.1089, 0.3252, 0.3686
Android (android.graphics.Color)4287008632 (0xFF868F78)
YUV137.6870, -8.7197, -3.2335

Details

The Yxy color 26.1089, 0.3252, 0.3686 is a dark color, and the websafe version is hex 999999. A complement of this color would be 20.2301, 0.2987, 0.2889, and the grayscale version is 25.3420, 0.3127, 0.3290.

A 20% lighter version of the original color is 53.4759, 0.3232, 0.3608, and 10.1685, 0.3306, 0.3860 is the 20% darker color. If you saturate the color by 10%, you get 25.3104, 0.3328, 0.3954, and if you desaturate by 10%, it is 26.9896, 0.3174, 0.3433.

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 26.1089, 0.3252, 0.3686 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 26.1089, 0.3252, 0.3686 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%.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.283.3163, 0.3185, 0.3465The Color 283.3163, 0.3185, 0.3465.234.6251, 0.3189, 0.3477The Color 234.6251, 0.3189, 0.3477.191.8589, 0.3193, 0.3490The Color 191.8589, 0.3193, 0.3490.154.6335, 0.3198, 0.3505The Color 154.6335, 0.3198, 0.3505.122.5643, 0.3204, 0.3523The Color 122.5643, 0.3204, 0.3523.95.2671, 0.3210, 0.3544The Color 95.2671, 0.3210, 0.3544.72.3573, 0.3218, 0.3569The Color 72.3573, 0.3218, 0.3569.53.4506, 0.3227, 0.3600The Color 53.4506, 0.3227, 0.3600.38.1626, 0.3238, 0.3637The Color 38.1626, 0.3238, 0.3637.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.9013, 0.3744, 0.5072The Color 0.9013, 0.3744, 0.5072.2.5493, 0.3373, 0.4182The Color 2.5493, 0.3373, 0.4182.5.5097, 0.3326, 0.3970The Color 5.5097, 0.3326, 0.3970.10.1669, 0.3294, 0.3839The Color 10.1669, 0.3294, 0.3839.16.9051, 0.3270, 0.3750The Color 16.9051, 0.3270, 0.3750.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.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.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.21.5631, 0.3497, 0.5605The Color 21.5631, 0.3497, 0.5605.21.6870, 0.3511, 0.5559The Color 21.6870, 0.3511, 0.5559.22.0203, 0.3543, 0.5431The Color 22.0203, 0.3543, 0.5431.22.4068, 0.3555, 0.5256The Color 22.4068, 0.3555, 0.5256.22.8527, 0.3544, 0.5038The Color 22.8527, 0.3544, 0.5038.23.3624, 0.3512, 0.4786The Color 23.3624, 0.3512, 0.4786.23.9396, 0.3462, 0.4514The Color 23.9396, 0.3462, 0.4514.24.5879, 0.3400, 0.4233The Color 24.5879, 0.3400, 0.4233.25.3104, 0.3328, 0.3954The Color 25.3104, 0.3328, 0.3954.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.37.1899, 0.2656, 0.2075The Color 37.1899, 0.2656, 0.2075.35.5869, 0.2706, 0.2188The Color 35.5869, 0.2706, 0.2188.34.0816, 0.2760, 0.2314The Color 34.0816, 0.2760, 0.2314.32.6722, 0.2819, 0.2456The Color 32.6722, 0.2819, 0.2456.31.3567, 0.2882, 0.2614The Color 31.3567, 0.2882, 0.2614.30.1328, 0.2950, 0.2789The Color 30.1328, 0.2950, 0.2789.28.9985, 0.3021, 0.2984The Color 28.9985, 0.3021, 0.2984.27.9516, 0.3096, 0.3199The Color 27.9516, 0.3096, 0.3199.26.9896, 0.3174, 0.3433The Color 26.9896, 0.3174, 0.3433.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.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.26.1089, 0.3454, 0.3678The Color 26.1089, 0.3454, 0.3678.26.1089, 0.3022, 0.3576The Color 26.1089, 0.3022, 0.3576.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.26.1089, 0.3454, 0.3678The Color 26.1089, 0.3454, 0.3678.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.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.26.1089, 0.3434, 0.3192The Color 26.1089, 0.3434, 0.3192.26.1089, 0.2702, 0.2998The Color 26.1089, 0.2702, 0.2998.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.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.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.20.2301, 0.2987, 0.2889The Color 20.2301, 0.2987, 0.2889.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.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.26.1089, 0.3222, 0.3027The Color 26.1089, 0.3222, 0.3027.26.1089, 0.2802, 0.2913The Color 26.1089, 0.2802, 0.2913.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.26.1089, 0.3222, 0.3027The Color 26.1089, 0.3222, 0.3027.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.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.26.1089, 0.3564, 0.3387The Color 26.1089, 0.3564, 0.3387.26.1089, 0.2991, 0.2926The Color 26.1089, 0.2991, 0.2926.26.1089, 0.2710, 0.3168The Color 26.1089, 0.2710, 0.3168.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.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.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.26.1089, 0.3370, 0.3132The Color 26.1089, 0.3370, 0.3132.26.1089, 0.2991, 0.2926The Color 26.1089, 0.2991, 0.2926.26.1089, 0.2883, 0.3452The Color 26.1089, 0.2883, 0.3452.26.1089, 0.3252, 0.3686The Color 26.1089, 0.3252, 0.3686.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.26.1100, 0.3252, 0.3686The Color 26.1100, 0.3252, 0.3686.11.2805, 0.3127, 0.3290The Color 11.2805, 0.3127, 0.3290.72.9347, 0.3127, 0.3290The Color 72.9347, 0.3127, 0.3290.11.0583, 0.3172, 0.3427The Color 11.0583, 0.3172, 0.3427.23.1458, 0.3393, 0.3454The Color 23.1458, 0.3393, 0.3454.48.3257, 0.3167, 0.3411The Color 48.3257, 0.3167, 0.3411.26.1100, 0.3252, 0.3686The Color 26.1100, 0.3252, 0.3686.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#868F78
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 26.1089, 0.3252, 0.3686 looks on a white background.

The color contrast ratio for these colors is 3.38, 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 Yxy color 26.1089, 0.3252, 0.3686 looks on a black background.

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

Yxy 26.1089, 0.3252, 0.3686 Background

 

This preview shows how black text looks on a background with the Yxy color 26.1089, 0.3252, 0.3686.

 

This preview shows how white text looks on a background with the Yxy color 26.1089, 0.3252, 0.3686.

Color Blindness Simulation


Dichromacy

Original Color
26.0693, 0.3259, 0.3687
Protanopia
25.9763, 0.3438, 0.3640
Deuteranopia
25.8263, 0.3551, 0.3482
Tritanopia
26.0705, 0.3008, 0.3109

Trichromacy

Original Color
26.0693, 0.3259, 0.3687
Protanomaly
26.1324, 0.3364, 0.3661
Deuteranomaly
25.7558, 0.3446, 0.3554
Tritanomaly
26.1481, 0.3093, 0.3323

Monochromacy

Original Color
26.0693, 0.3259, 0.3687
Achromatopsia
25.4152, 0.3127, 0.3290
Achromatomaly
25.6564, 0.3164, 0.3426
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 26.1089, 0.3252, 0.3686 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(134, 143, 120) }.

This example shows how text in the color rgb(134, 143, 120) looks like.

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

Here you see how black text with a 4 pixel rgb(134, 143, 120) 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 26.1089, 0.3252, 0.3686 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(134, 143, 120) }.

If only the border color should be changed .border{ border-color:rgb(134, 143, 120) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 26.1089, 0.3252, 0.3686 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(134, 143, 120) }.

If only the background color should be changed .background{ background-color:rgb(134, 143, 120) } 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, "868F78", 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 "85°, 16%, 56%" 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(85°, 16%, 56%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(58.14, -7.84, 11.02)", "CIELCH(58, 13.525, 125.403)", "YXY(26.1089, 0.3252, 0.3686)" and "CMYK(0.07, 0.00, 0.16, 0.44)".


Advertisment