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
Hex2D263E
RGB45, 38, 62
RGB Percent18%, 15%, 24%
CMY0.8235, 0.8510, 0.7569
CMYK0.27, 0.39, 0.00, 0.76
HSL258°, 24%, 20%
HSV258°, 39%, 24%
XYZ2.6448, 2.2919, 4.8604
Conversions Part 2
FormatColor
RYB45, 38, 62
Decimal2958910
CIELab16.95, 9.49, -14.14
CIELCh17, 17.026, 303.870
Yxy2.2919, 0.2700, 0.2339
Android (android.graphics.Color)4281148990 (0xFF2D263E)
YUV42.8290, 9.4513, 1.9040

Details

The XYZ color 2.6448, 2.2919, 4.8604 is a dark color, and the websafe version is hex 333333. A complement of this color would be 3.6480, 4.3974, 2.4903, and the grayscale version is 2.2712, 2.3895, 2.6022.

A 20% lighter version of the original color is 10.2221, 9.5364, 16.0538, and 0.1284, 0.0687, 0.6226 is the 20% darker color. If you saturate the color by 10%, you get 2.2796, 1.8336, 4.7912, and if you desaturate by 10%, it is 3.0633, 2.8269, 4.9417.

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 XYZ color 2.6448, 2.2919, 4.8604 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 XYZ color 2.6448, 2.2919, 4.8604 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%.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.119.3635, 119.0728, 157.3561The Color 119.3635, 119.0728, 157.3561.92.9763, 92.3179, 124.0362The Color 92.9763, 92.3179, 124.0362.70.7962, 69.9047, 95.7868The Color 70.7962, 69.9047, 95.7868.52.4578, 51.4488, 72.1895The Color 52.4578, 51.4488, 72.1895.37.5959, 36.5659, 52.8257The Color 37.5959, 36.5659, 52.8257.25.8450, 24.8716, 37.2769The Color 25.8450, 24.8716, 37.2769.16.8398, 15.9814, 25.1245The Color 16.8398, 15.9814, 25.1245.10.2149, 9.5110, 15.9500The Color 10.2149, 9.5110, 15.9500.5.6050, 5.0760, 9.3348The Color 5.6050, 5.0760, 9.3348.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.6207The Color 0.0000, 0.0000, 0.6207.0.9688, 0.7694, 2.1083The Color 0.9688, 0.7694, 2.1083.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.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.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.1.1205, 0.4772, 4.5905The Color 1.1205, 0.4772, 4.5905.1.1400, 0.5002, 4.5939The Color 1.1400, 0.5002, 4.5939.1.2998, 0.6824, 4.6207The Color 1.2998, 0.6824, 4.6207.1.4796, 0.8798, 4.6493The Color 1.4796, 0.8798, 4.6493.1.6995, 1.1315, 4.6863The Color 1.6995, 1.1315, 4.6863.1.9653, 1.4480, 4.7334The Color 1.9653, 1.4480, 4.7334.2.2796, 1.8336, 4.7912The Color 2.2796, 1.8336, 4.7912.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.8.5579, 10.2270, 6.0804The Color 8.5579, 10.2270, 6.0804.7.6461, 8.9732, 5.8865The Color 7.6461, 8.9732, 5.8865.6.8019, 7.8184, 5.7081The Color 6.8019, 7.8184, 5.7081.6.0235, 6.7601, 5.5448The Color 6.0235, 6.7601, 5.5448.5.3096, 5.7960, 5.3963The Color 5.3096, 5.7960, 5.3963.4.6584, 4.9234, 5.2622The Color 4.6584, 4.9234, 5.2622.4.0681, 4.1396, 5.1421The Color 4.0681, 4.1396, 5.1421.3.5371, 3.4417, 5.0354The Color 3.5371, 3.4417, 5.0354.3.0633, 2.8269, 4.9417The Color 3.0633, 2.8269, 4.9417.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.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.2.2317, 2.2919, 5.4701The Color 2.2317, 2.2919, 5.4701.2.9601, 2.2919, 3.6198The Color 2.9601, 2.2919, 3.6198.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.2.2317, 2.2919, 5.4701The Color 2.2317, 2.2919, 5.4701.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.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.1.4865, 2.2919, 2.6500The Color 1.4865, 2.2919, 2.6500.2.5419, 2.2919, 0.9745The Color 2.5419, 2.2919, 0.9745.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.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.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.3.6480, 4.3974, 2.4903The Color 3.6480, 4.3974, 2.4903.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.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.1.5480, 2.2919, 1.6320The Color 1.5480, 2.2919, 1.6320.2.1259, 2.2919, 0.8556The Color 2.1259, 2.2919, 0.8556.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.1.5480, 2.2919, 1.6320The Color 1.5480, 2.2919, 1.6320.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.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.1.5905, 2.2919, 3.9663The Color 1.5905, 2.2919, 3.9663.1.7703, 2.2919, 1.0577The Color 1.7703, 2.2919, 1.0577.2.8957, 2.2919, 1.4423The Color 2.8957, 2.2919, 1.4423.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.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.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.1.4886, 2.2919, 2.2635The Color 1.4886, 2.2919, 2.2635.1.7703, 2.2919, 1.0577The Color 1.7703, 2.2919, 1.0577.3.0538, 2.2919, 2.7428The Color 3.0538, 2.2919, 2.7428.2.6448, 2.2919, 4.8604The Color 2.6448, 2.2919, 4.8604.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.2.6449, 2.2920, 4.8605The Color 2.6449, 2.2920, 4.8605.2.0893, 2.1981, 2.3937The Color 2.0893, 2.1981, 2.3937.37.3664, 39.3123, 42.8111The Color 37.3664, 39.3123, 42.8111.1.7545, 1.7547, 2.3258The Color 1.7545, 1.7547, 2.3258.3.0446, 3.5113, 5.0747The Color 3.0446, 3.5113, 5.0747.6.6882, 6.6954, 8.8429The Color 6.6882, 6.6954, 8.8429.2.6449, 2.2920, 4.8605The Color 2.6449, 2.2920, 4.8605.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#2D263E
Advertisment

Previews

White Background

 

This preview shows how the XYZ color 2.6448, 2.2919, 4.8604 looks on a white background.

The color contrast ratio for these colors is 14.40, 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 XYZ color 2.6448, 2.2919, 4.8604 looks on a black background.

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

XYZ 2.6448, 2.2919, 4.8604 Background

 

This preview shows how black text looks on a background with the XYZ color 2.6448, 2.2919, 4.8604.

 

This preview shows how white text looks on a background with the XYZ color 2.6448, 2.2919, 4.8604.

Color Blindness Simulation


Dichromacy

Original Color
2.6448, 2.2919, 4.8604
Protanopia
2.3743, 2.2909, 5.3181
Deuteranopia
2.3300, 2.3329, 4.7424
Tritanopia
2.2565, 2.3376, 2.8149

Trichromacy

Original Color
2.6448, 2.2919, 4.8604
Protanomaly
2.4472, 2.2811, 5.1618
Deuteranomaly
2.4346, 2.3349, 4.7372
Tritanomaly
2.3867, 2.3385, 3.4575

Monochromacy

Original Color
2.6448, 2.2919, 4.8604
Achromatopsia
2.2962, 2.4158, 2.6308
Achromatomaly
2.4074, 2.3516, 3.3446
Advertisment

CSS Examples


The CSS property to change the color of the text to XYZ 2.6448, 2.2919, 4.8604 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(45, 38, 62) }.

This example shows how text in the color rgb(45, 38, 62) looks like.

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

Here you see how black text with a 4 pixel rgb(45, 38, 62) 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 2.6448, 2.2919, 4.8604 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(45, 38, 62) }.

If only the border color should be changed .border{ border-color:rgb(45, 38, 62) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 2.6448, 2.2919, 4.8604 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(45, 38, 62) }.

If only the background color should be changed .background{ background-color:rgb(45, 38, 62) } 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, "2D263E", 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 "258°, 39%, 24%" 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(258°, 39%, 24%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(16.95, 9.49, -14.14)", "CIELCH(17, 17.026, 303.870)", "YXY(2.2919, 0.2700, 0.2339)" and "CMYK(0.27, 0.39, 0.00, 0.76)".


Advertisment