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
Hex267844
RGB38, 120, 68
RGB Percent15%, 47%, 27%
CMY0.8510, 0.5294, 0.7333
CMYK0.68, 0.00, 0.43, 0.53
HSL142°, 52%, 31%
HSV142°, 68%, 47%
XYZ8.5592, 14.2624, 7.7706
Conversions Part 2
FormatColor
RYB38, 98, 120
Decimal2521156
CIELab44.61, -37.12, 21.54
CIELCh45, 42.917, 149.881
Yxy14.2624, 0.2798, 0.4662
Android (android.graphics.Color)4280711236 (0xFF267844)
YUV89.5540, -10.6261, -45.2129

Details

The Hex color 267844 is a dark color, and the websafe version is hex 006633. A complement of this color would be 78265A, and the grayscale version is 5A5A5A.

A 20% lighter version of the original color is 5DAD75, and 004617 is the 20% darker color. If you saturate the color by 10%, you get 1A783C, and if you desaturate by 10%, it is 32784C.

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 Hex color 267844 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 267844 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%.267844The Color 267844.FFFFFFThe Color FFFFFF.E9FFFDThe Color E9FFFD.CCFFE1The Color CCFFE1.B0FFC5The Color B0FFC5.94E5A9The Color 94E5A9.78C98FThe Color 78C98F.5DAD75The Color 5DAD75.42925CThe Color 42925C.267844The Color 267844.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]267844The Color 267844.000000The Color 000000.001900The Color 001900.002F00The Color 002F00.004617The Color 004617.005F2DThe Color 005F2D.267844The Color 267844.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.267844The Color 267844.00782CThe Color 00782C.02782DThe Color 02782D.0E7835The Color 0E7835.1A783CThe Color 1A783C.267844The Color 267844.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]267844The Color 267844.927888The Color 927888.867881The Color 867881.7A7879The Color 7A7879.6E7872The Color 6E7872.62786AThe Color 62786A.567862The Color 567862.4A785BThe Color 4A785B.3E7853The Color 3E7853.32784CThe Color 32784C.267844The Color 267844.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.597227The Color 597227.007B68The Color 007B68.267844The Color 267844.597227The Color 597227.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.267844The Color 267844.A94D48The Color A94D48.076DB1The Color 076DB1.267844The Color 267844.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.267844The Color 267844.78265AThe Color 78265A.267844The Color 267844.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.A9496BThe Color A9496B.6A60A8The Color 6A60A8.267844The Color 267844.A9496BThe Color A9496B.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.267844The Color 267844.995A2BThe Color 995A2B.95518EThe Color 95518E.0076A7The Color 0076A7.267844The Color 267844.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.267844The Color 267844.AB4B53The Color AB4B53.95518EThe Color 95518E.007B81The Color 007B81.267844The Color 267844.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.267844The Color 267844.4F4F4FThe Color 4F4F4F.CFCFCFThe Color CFCFCF.3B4F43The Color 3B4F43.5B7826The Color 5B7826.7B9C87The Color 7B9C87.267844The Color 267844.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#267844
Advertisment

Previews

White Background

 

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

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

Black Background

 

This preview shows how the Hex color 267844 looks on a black background.

The color contrast ratio for these colors is 3.85, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Hex 267844 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
267844
Protanopia
73693E
Deuteranopia
7D6449
Tritanopia
39727B

Trichromacy

Original Color
267844
Protanomaly
576E40
Deuteranomaly
5D6B47
Tritanomaly
327467

Monochromacy

Original Color
267844
Achromatopsia
5A5A5A
Achromatomaly
476552
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#267844 } 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, "267844", 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 "142°, 68%, 47%" 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(142°, 68%, 47%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(44.61, -37.12, 21.54)", "CIELCH(45, 42.917, 149.881)", "YXY(14.2624, 0.2798, 0.4662)" and "CMYK(0.68, 0.00, 0.43, 0.53)".


Advertisment