Converting Colors

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

Conversions

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

FormatColor
HSL358°, 43%, 21%
CIELCh19, 24.299, 24.233
Yxy2.6322, 0.4697, 0.3258
Android (android.graphics.Color)4283244064 (0xFF4D1E20)
YUV44.2810, -6.0545, 28.6946

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


Details

The XYZ color 3.7948, 2.6322, 1.6528 is a dark color, and the websafe version is hex 663333. A complement of this color would be 4.5007, 6.1131, 7.7385, and the grayscale version is 2.4490, 2.5765, 2.8059.

A 20% lighter version of the original color is 12.9422, 10.3578, 8.1546, and 0.5122, 0.2634, 0.0526 is the 20% darker color. If you saturate the color by 10%, you get 3.5310, 2.2480, 1.1228, and if you desaturate by 10%, it is 4.1298, 3.1218, 2.3208.

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 3.7948, 2.6322, 1.6528 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%.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.132.6936, 123.6515, 116.7286The Color 132.6936, 123.6515, 116.7286.104.2960, 96.1864, 89.6470The Color 104.2960, 96.1864, 89.6470.80.2698, 73.1228, 67.1158The Color 80.2698, 73.1228, 67.1158.60.2496, 54.0764, 48.7166The Color 60.2496, 54.0764, 48.7166.43.8701, 38.6627, 34.0307The Color 43.8701, 38.6627, 34.0307.30.7659, 26.4974, 22.6396The Color 30.7659, 26.4974, 22.6396.20.5716, 17.1961, 14.1248The Color 20.5716, 17.1961, 14.1248.12.9219, 10.3744, 8.0678The Color 12.9219, 10.3744, 8.0678.7.4514, 5.6479, 4.0500The Color 7.4514, 5.6479, 4.0500.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.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%.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.3837, 0.0000, 0.0000The Color 0.3837, 0.0000, 0.0000.1.5867, 0.9429, 0.3281The Color 1.5867, 0.9429, 0.3281.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 3.7948, 2.6322, 1.6528 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.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.3.0743, 1.5836, 0.2034The Color 3.0743, 1.5836, 0.2034.3.1929, 1.7582, 0.4355The Color 3.1929, 1.7582, 0.4355.3.3331, 1.9610, 0.7211The Color 3.3331, 1.9610, 0.7211.3.5310, 2.2480, 1.1228The Color 3.5310, 2.2480, 1.1228.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.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.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.9.8564, 11.5513, 13.5515The Color 9.8564, 11.5513, 13.5515.8.8118, 10.0101, 11.5134The Color 8.8118, 10.0101, 11.5134.7.8673, 8.6175, 9.6686The Color 7.8673, 8.6175, 9.6686.7.0202, 7.3693, 8.0113The Color 7.0202, 7.3693, 8.0113.6.2674, 6.2608, 6.5357The Color 6.2674, 6.2608, 6.5357.5.6054, 5.2871, 5.2356The Color 5.6054, 5.2871, 5.2356.5.0310, 4.4431, 4.1044The Color 5.0310, 4.4431, 4.1044.4.5405, 3.7233, 3.1353The Color 4.5405, 3.7233, 3.1353.4.1298, 3.1218, 2.3208The Color 4.1298, 3.1218, 2.3208.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.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.3.9308, 2.6322, 3.2336The Color 3.9308, 2.6322, 3.2336.3.2891, 2.6322, 0.8523The Color 3.2891, 2.6322, 0.8523.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.3.9308, 2.6322, 3.2336The Color 3.9308, 2.6322, 3.2336.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.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.2.3806, 2.6322, 7.9720The Color 2.3806, 2.6322, 7.9720.1.6330, 2.6322, 1.2645The Color 1.6330, 2.6322, 1.2645.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.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.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.4.5007, 6.1131, 7.7385The Color 4.5007, 6.1131, 7.7385.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.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.1.8514, 2.6322, 6.7639The Color 1.8514, 2.6322, 6.7639.1.4694, 2.6322, 2.5274The Color 1.4694, 2.6322, 2.5274.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.1.8514, 2.6322, 6.7639The Color 1.8514, 2.6322, 6.7639.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.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.3.0396, 2.6322, 7.4089The Color 3.0396, 2.6322, 7.4089.1.5420, 2.6322, 4.5625The Color 1.5420, 2.6322, 4.5625.2.0315, 2.6322, 0.6816The Color 2.0315, 2.6322, 0.6816.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.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.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.2.1832, 2.6322, 7.7479The Color 2.1832, 2.6322, 7.7479.1.5420, 2.6322, 4.5625The Color 1.5420, 2.6322, 4.5625.2.8500, 2.6322, 0.5959The Color 2.8500, 2.6322, 0.5959.3.7948, 2.6322, 1.6528The Color 3.7948, 2.6322, 1.6528.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.3.7949, 2.6323, 1.6528The Color 3.7949, 2.6323, 1.6528.3.1466, 3.3105, 3.6051The Color 3.1466, 3.3105, 3.6051.42.5813, 44.7988, 48.7859The Color 42.5813, 44.7988, 48.7859.2.5011, 2.3604, 2.3387The Color 2.5011, 2.3604, 2.3387.4.7550, 3.0021, 7.3555The Color 4.7550, 3.0021, 7.3555.9.7025, 9.2545, 9.2641The Color 9.7025, 9.2545, 9.2641.3.7949, 2.6323, 1.6528The Color 3.7949, 2.6323, 1.6528.Sweetspot

SVG Images

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

#4D1E20

Previews

White Background

This preview shows how the XYZ color 3.7948, 2.6322, 1.6528 looks on a white background.

The color contrast ratio for these colors is 13.80, 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 3.7948, 2.6322, 1.6528 looks on a black background.

The color contrast ratio for these colors is 1.52, 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 3.7948, 2.6322, 1.6528 Background

This preview shows how black text looks on a background with the XYZ color 3.7948, 2.6322, 1.6528.

This preview shows how white text looks on a background with the XYZ color 3.7948, 2.6322, 1.6528.


CSS Examples


The CSS property to change the color of the text to XYZ 3.7948, 2.6322, 1.6528 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(77, 30, 32) }.

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

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

Here you see how black text with a 4 pixel rgb(77, 30, 32) 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 3.7948, 2.6322, 1.6528 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(77, 30, 32) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 3.7948, 2.6322, 1.6528 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(77, 30, 32) }.

If only the background color should be changed .background{ background-color:rgb(77, 30, 32) } 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, "4D1E20", 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°, 60%, 30%" 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°, 60%, 30%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(18.51, 22.16, 9.97)", "CIELCH(19, 24.299, 24.233)", "YXY(2.6322, 0.4697, 0.3258)" and "CMYK(0.00, 0.60, 0.59, 0.70)".