Converting Colors

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

Conversions

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

FormatColor
HSL358°, 100%, 7%
CIELCh0, 24.546, 0.000
Yxy0.0000, 1.0000, 0.0000
Android (android.graphics.Color)4280680449 (0xFF260001)
YUV11.4760, -5.1647, 23.2615

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


Details

The XYZ color 0.5992, 0.0000, 0.0000 is a dark color, and the websafe version is hex 330000. A complement of this color would be 1.0274, 1.5219, 1.9849, and the grayscale version is 0.3346, 0.3520, 0.3833.

A 20% lighter version of the original color is 5.0110, 3.9696, 3.4078, and 0.0000, 0.0000, 0.0000 is the 20% darker color. If you saturate the color by 10%, you get 0.8068, 0.4152, 0.0692, and if you desaturate by 10%, it is 0.8683, 0.5059, 0.1895.

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 XYZ color 0.5992, 0.0000, 0.0000 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%.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.84.8517, 76.3034, 83.0814The Color 84.8517, 76.3034, 83.0814.64.0410, 56.6813, 61.7163The Color 64.0410, 56.6813, 61.7163.46.9457, 40.7494, 44.3692The Color 46.9457, 40.7494, 44.3692.33.2005, 28.1233, 30.6215The Color 33.2005, 28.1233, 30.6215.22.4400, 18.4187, 20.0548The Color 22.4400, 18.4187, 20.0548.14.2990, 11.2510, 12.2504The Color 14.2990, 11.2510, 12.2504.8.4120, 6.2359, 6.7898The Color 8.4120, 6.2359, 6.7898.4.4137, 2.9891, 3.2546The Color 4.4137, 2.9891, 3.2546.1.9387, 1.1260, 1.2260The Color 1.9387, 1.1260, 1.2260.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.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%.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 0.5992, 0.0000, 0.0000 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.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.8068, 0.4152, 0.0692The Color 0.8068, 0.4152, 0.0692.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.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.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.1.6733, 1.6879, 1.7772The Color 1.6733, 1.6879, 1.7772.1.5188, 1.4605, 1.4742The Color 1.5188, 1.4605, 1.4742.1.3816, 1.2587, 1.2045The Color 1.3816, 1.2587, 1.2045.1.2610, 1.0816, 0.9668The Color 1.2610, 1.0816, 0.9668.1.1565, 0.9282, 0.7601The Color 1.1565, 0.9282, 0.7601.1.0673, 0.7976, 0.5831The Color 1.0673, 0.7976, 0.5831.0.9927, 0.6887, 0.4343The Color 0.9927, 0.6887, 0.4343.0.9299, 0.5966, 0.3099The Color 0.9299, 0.5966, 0.3099.0.8683, 0.5059, 0.1895The Color 0.8683, 0.5059, 0.1895.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.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.0.5189, 0.0000, 0.8580The Color 0.5189, 0.0000, 0.8580.0.5189, 0.0000, 0.0000The Color 0.5189, 0.0000, 0.0000.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.5189, 0.0000, 0.8580The Color 0.5189, 0.0000, 0.8580.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.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.0000, 0.0000, 1.5859The Color 0.0000, 0.0000, 1.5859.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.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.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.1.0274, 1.5219, 1.9849The Color 1.0274, 1.5219, 1.9849.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.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.0.0000, 0.0000, 0.8580The Color 0.0000, 0.0000, 0.8580.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.0000, 0.0000, 0.8580The Color 0.0000, 0.0000, 0.8580.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.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.0000, 0.0000, 1.9283The Color 0.0000, 0.0000, 1.9283.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.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.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.0.0000, 0.0000, 1.3587The Color 0.0000, 0.0000, 1.3587.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.3852, 0.0000, 0.0000The Color 0.3852, 0.0000, 0.0000.0.5992, 0.0000, 0.0000The Color 0.5992, 0.0000, 0.0000.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.0.8068, 0.4152, 0.0692The Color 0.8068, 0.4152, 0.0692.0.9527, 1.0023, 1.0915The Color 0.9527, 1.0023, 1.0915.30.2779, 31.8547, 34.6897The Color 30.2779, 31.8547, 34.6897.0.7014, 0.6324, 0.5986The Color 0.7014, 0.6324, 0.5986.1.1053, 0.5293, 1.8810The Color 1.1053, 0.5293, 1.8810.2.1034, 1.8960, 1.7939The Color 2.1034, 1.8960, 1.7939.0.8068, 0.4152, 0.0692The Color 0.8068, 0.4152, 0.0692.Sweetspot

SVG Images

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

#260001

Previews

White Background

This preview shows how the XYZ color 0.5992, 0.0000, 0.0000 looks on a white background.

The color contrast ratio for these colors is 19.39, 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 0.5992, 0.0000, 0.0000 looks on a black background.

The color contrast ratio for these colors is 1.08, 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 0.5992, 0.0000, 0.0000 Background

This preview shows how black text looks on a background with the XYZ color 0.5992, 0.0000, 0.0000.

This preview shows how white text looks on a background with the XYZ color 0.5992, 0.0000, 0.0000.


CSS Examples


The CSS property to change the color of the text to XYZ 0.5992, 0.0000, 0.0000 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(38, 0, 1) }.

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

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

Here you see how black text with a 4 pixel rgb(38, 0, 1) 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 0.5992, 0.0000, 0.0000 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(38, 0, 1) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 0.5992, 0.0000, 0.0000 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(38, 0, 1) }.

If only the background color should be changed .background{ background-color:rgb(38, 0, 1) } 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, "260001", 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 "358°, 100%, 15%" 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(358°, 100%, 15%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(0.00, 24.55, 0.00)", "CIELCH(0, 24.546, 0.000)", "YXY(0.0000, 1.0000, 0.0000)" and "CMYK(0.00, 1.00, 0.97, 0.85)".