Converting Colors


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 2
FormatColor
RYB36, 97, 175
Decimal2396591
CIELab55.81, -19.27, -24.23
CIELCh56, 30.963, 231.501
Yxy23.7210, 0.2150, 0.2743
Android (android.graphics.Color)4280586671 (0xFF2491AF)
YUV115.8290, 29.1713, -70.0100

Details

The Hex color 2491AF is a dark color, and the websafe version is hex 0099CC. A complement of this color would be AF4224, and the grayscale version is 747474.

A 20% lighter version of the original color is 68C7E7, and 005E7A is the 20% darker color. If you saturate the color by 10%, you get 128DAF, and if you desaturate by 10%, it is 3695AF.

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 Hex color 2491AF 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 Hex color 2491AF 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%.2491AFThe Color 2491AF.FFFFFFThe Color FFFFFF.FDFFFFThe Color FDFFFF.DFFFFFThe Color DFFFFF.C1FFFFThe Color C1FFFF.A4FFFFThe Color A4FFFF.86E3FFThe Color 86E3FF.68C7E7The Color 68C7E7.49ACCAThe Color 49ACCA.2491AFThe Color 2491AF.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]2491AFThe Color 2491AF.000000The Color 000000.00021EThe Color 00021E.001D33The Color 001D33.00304AThe Color 00304A.004761The Color 004761.005E7AThe Color 005E7A.007794The Color 007794.2491AFThe Color 2491AF.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.2491AFThe Color 2491AF.0089AFThe Color 0089AF.0189AFThe Color 0189AF.128DAFThe Color 128DAF.2491AFThe Color 2491AF.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]2491AFThe Color 2491AF.C2B3AFThe Color C2B3AF.B0AFAFThe Color B0AFAF.9FABAFThe Color 9FABAF.8DA8AFThe Color 8DA8AF.7CA4AFThe Color 7CA4AF.6AA0AFThe Color 6AA0AF.599CAFThe Color 599CAF.4799AFThe Color 4799AF.3695AFThe Color 3695AF.2491AFThe Color 2491AF.Saturation Gradient

🖌️ View as Color Bucket

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.1E9498The Color 1E9498.528BBAThe Color 528BBA.2491AFThe Color 2491AF.1E9498The Color 1E9498.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.2491AFThe Color 2491AF.848A53The Color 848A53.B5728FThe Color B5728F.2491AFThe Color 2491AF.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.2491AFThe Color 2491AF.AF4224The Color AF4224.2491AFThe Color 2491AF.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.9E8150The Color 9E8150.BA7273The Color BA7273.2491AFThe Color 2491AF.9E8150The Color 9E8150.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.2491AFThe Color 2491AF.659063The Color 659063.B2785DThe Color B2785D.A078A7The Color A078A7.2491AFThe Color 2491AF.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.2491AFThe Color 2491AF.8D8750The Color 8D8750.B2785DThe Color B2785D.7085BAThe Color 7085BA.2491AFThe Color 2491AF.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.2491AFThe Color 2491AF.737373The Color 737373.F2F2F2The Color F2F2F2.516C73The Color 516C73.24AF40The Color 24AF40.ACD7E3The Color ACD7E3.2491AFThe Color 2491AF.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#2491AF

Previews

White Background

 

This preview shows how the Hex color 2491AF looks on a white background.

The color contrast ratio for these colors is 3.66, 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 Hex color 2491AF looks on a black background.

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

Hex 2491AF Background

 

This preview shows how black text looks on a background with the Hex color 2491AF.

 

This preview shows how white text looks on a background with the Hex color 2491AF.

Color Blindness Simulation


Dichromacy

Original Color
2491AF
Protanopia
7D84A5
Deuteranopia
7983B2
Tritanopia
0F94A0

Trichromacy

Original Color
2491AF
Protanomaly
5D89A9
Deuteranomaly
5A88B1
Tritanomaly
1793A5

Monochromacy

Original Color
2491AF
Achromatopsia
747474
Achromatomaly
577F89

CSS Examples


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

This example shows how text in the color #2491AF looks like.

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

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

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

Here you see how a box with a 4 pixel #2491AF colored shadow looks like.

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

Background

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

If only the background color should be changed .background{ background-color:#2491AF } 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, "2491AF", 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 "193°, 79%, 69%" 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(193°, 79%, 69%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(55.81, -19.27, -24.23)", "CIELCH(56, 30.963, 231.501)", "YXY(23.7210, 0.2150, 0.2743)" and "CMYK(0.79, 0.17, 0.00, 0.31)".