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
Hex3C5E5E
RGB60, 94, 94
RGB Percent24%, 37%, 37%
CMY0.7647, 0.6314, 0.6314
CMYK0.36, 0.00, 0.00, 0.63
HSL180°, 22%, 30%
HSV180°, 36%, 37%
XYZ7.8866, 9.7742, 12.0606
Conversions Part 2
FormatColor
RYB60, 77, 94
Decimal3956318
CIELab37.43, -12.24, -3.92
CIELCh37, 12.851, 197.773
Yxy9.7742, 0.2653, 0.3289
Android (android.graphics.Color)4282146398 (0xFF3C5E5E)
YUV83.8340, 5.0118, -20.9024

Details

The Decimal color 3956318 is a dark color, and the websafe version is hex 336666. A complement of this color would be 5066061, and the grayscale version is 5526612.

A 20% lighter version of the original color is 7180432, and 864304 is the 20% darker color. If you saturate the color by 10%, you get 3366494, and if you desaturate by 10%, it is 4546142.

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 Decimal color 3956318 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 Decimal color 3956318 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%.3956318The Color 3956318.16777215The Color 16777215.16187391The Color 16187391.14286847The Color 14286847.12444386The Color 12444386.10667718The Color 10667718.8891307The Color 8891307.7180432The Color 7180432.5535607The Color 5535607.3956318The Color 3956318.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]3956318The Color 3956318.0The Color 0.6939The Color 6939.864304The Color 864304.2442822The Color 2442822.3956318The Color 3956318.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.3956318The Color 3956318.24158The Color 24158.286302The Color 286302.876126The Color 876126.1465950The Color 1465950.2121310The Color 2121310.2711134The Color 2711134.3366494The Color 3366494.3956318The Color 3956318.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]3956318The Color 3956318.9526878The Color 9526878.8871518The Color 8871518.8281694The Color 8281694.7626334The Color 7626334.7036510The Color 7036510.6446686The Color 6446686.5791326The Color 5791326.5201502The Color 5201502.4546142The Color 4546142.3956318The Color 3956318.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.4415059The Color 4415059.4021607The Color 4021607.3956318The Color 3956318.4415059The Color 4415059.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.3956318The Color 3956318.6575684The Color 6575684.6378342The Color 6378342.3956318The Color 3956318.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.3956318The Color 3956318.5066061The Color 5066061.3956318The Color 3956318.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.7033673The Color 7033673.6967645The Color 6967645.3956318The Color 3956318.7033673The Color 7033673.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.3956318The Color 3956318.5921092The Color 5921092.7229778The Color 7229778.5527404The Color 5527404.3956318The Color 3956318.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.3956318The Color 3956318.6772037The Color 6772037.7229778The Color 7229778.4414315The Color 4414315.3956318The Color 3956318.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.3956318The Color 3956318.4013373The Color 4013373.12434877The Color 12434877.3489085The Color 3489085.3956284The Color 3956284.7174778The Color 7174778.3956318The Color 3956318.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#3C5E5E
Advertisment

Previews

White Background

 

This preview shows how the Decimal color 3956318 looks on a white background.

The color contrast ratio for these colors is 7.11, 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 Decimal color 3956318 looks on a black background.

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

Decimal 3956318 Background

 

This preview shows how black text looks on a background with the Decimal color 3956318.

 

This preview shows how white text looks on a background with the Decimal color 3956318.

Color Blindness Simulation


Dichromacy

Original Color
3956318
Protanopia
5855066
Deuteranopia
6116704
Tritanopia
4087140

Trichromacy

Original Color
3956318
Protanomaly
5134939
Deuteranomaly
5331039
Tritanomaly
4021602

Monochromacy

Original Color
3956318
Achromatopsia
5526612
Achromatomaly
4937816
Advertisment

CSS Examples


The CSS property to change the color of the text to Decimal 3956318 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:#3C5E5E }.

This example shows how text in the color #3C5E5E looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px #3C5E5E }.

Here you see how black text with a 4 pixel #3C5E5E 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 Decimal 3956318 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid #3C5E5E }.

If only the border color should be changed .border{ border-color:#3C5E5E } can be used.

Here you see how a box with a 4 pixel #3C5E5E colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px #3C5E5E; -webkit-box-shadow:4px 4px 4px 4px #3C5E5E; box-shadow:4px 4px 4px 4px #3C5E5E }.

Background

The CSS property to change the background color of an element to Decimal 3956318 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:#3C5E5E }.

If only the background color should be changed .background{ background-color:#3C5E5E } 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, "3C5E5E", 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 "180°, 36%, 37%" 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(180°, 36%, 37%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(37.43, -12.24, -3.92)", "CIELCH(37, 12.851, 197.773)", "YXY(9.7742, 0.2653, 0.3289)" and "CMYK(0.36, 0.00, 0.00, 0.63)".


Advertisment