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
Hex088044
RGB8, 128, 68
RGB Percent3%, 50%, 27%
CMY0.9686, 0.4980, 0.7333
CMYK0.94, 0.00, 0.47, 0.50
HSL150°, 88%, 27%
HSV150°, 94%, 50%
XYZ8.8627, 15.9073, 8.0721
Conversions Part 2
FormatColor
RYB8, 88, 128
Decimal557124
CIELab46.85, -44.18, 24.35
CIELCh47, 50.449, 151.143
Yxy15.9073, 0.2699, 0.4844
Android (android.graphics.Color)4278747204 (0xFF088044)
YUV85.2800, -8.5190, -67.7746

Details

The RYB color 8, 88, 128 is a dark color, and the websafe version is hex 006633. A complement of this color would be 128, 8, 68, and the grayscale version is 85, 85, 85.

A 20% lighter version of the original color is 81, 155, 182, and 0, 59, 77 is the 20% darker color. If you saturate the color by 10%, you get 0, 85, 128, and if you desaturate by 10%, it is 21, 93, 128.

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 RYB color 8, 88, 128 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 RYB color 8, 88, 128 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%.8, 88, 128The Color 8, 88, 128.255, 255, 255The Color 255, 255, 255.254, 255, 255The Color 254, 255, 255.224, 240, 255The Color 224, 240, 255.195, 235, 255The Color 195, 235, 255.166, 232, 255The Color 166, 232, 255.138, 215, 239The Color 138, 215, 239.109, 185, 210The Color 109, 185, 210.81, 155, 182The Color 81, 155, 182.51, 126, 155The Color 51, 126, 155.8, 88, 128The Color 8, 88, 128.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]8, 88, 128The Color 8, 88, 128.0, 0, 0The Color 0, 0, 0.0, 32, 32The Color 0, 32, 32.0, 53, 53The Color 0, 53, 53.0, 59, 77The Color 0, 59, 77.0, 71, 102The Color 0, 71, 102.8, 88, 128The Color 8, 88, 128.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.8, 88, 128The Color 8, 88, 128.0, 85, 128The Color 0, 85, 128.8, 88, 128The Color 8, 88, 128.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]8, 88, 128The Color 8, 88, 128.123, 126, 128The Color 123, 126, 128.110, 122, 128The Color 110, 122, 128.98, 118, 128The Color 98, 118, 128.85, 114, 128The Color 85, 114, 128.72, 109, 128The Color 72, 109, 128.59, 105, 128The Color 59, 105, 128.46, 101, 128The Color 46, 101, 128.34, 97, 128The Color 34, 97, 128.21, 93, 128The Color 21, 93, 128.8, 88, 128The Color 8, 88, 128.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.31, 121, 64The Color 31, 121, 64.0, 71, 131The Color 0, 71, 131.8, 88, 128The Color 8, 88, 128.31, 121, 64The Color 31, 121, 64.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.8, 88, 128The Color 8, 88, 128.184, 77, 70The Color 184, 77, 70.0, 72, 196The Color 0, 72, 196.8, 88, 128The Color 8, 88, 128.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.8, 88, 128The Color 8, 88, 128.128, 8, 68The Color 128, 8, 68.8, 88, 128The Color 8, 88, 128.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.186, 70, 111The Color 186, 70, 111.113, 99, 184The Color 113, 99, 184.8, 88, 128The Color 8, 88, 128.186, 70, 111The Color 186, 70, 111.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.8, 88, 128The Color 8, 88, 128.164, 140, 35The Color 164, 140, 35.163, 80, 153The Color 163, 80, 153.0, 75, 185The Color 0, 75, 185.8, 88, 128The Color 8, 88, 128.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.8, 88, 128The Color 8, 88, 128.187, 72, 83The Color 187, 72, 83.163, 80, 153The Color 163, 80, 153.0, 68, 140The Color 0, 68, 140.8, 88, 128The Color 8, 88, 128.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.8, 88, 128The Color 8, 88, 128.84, 84, 84The Color 84, 84, 84.212, 212, 212The Color 212, 212, 212.56, 75, 84The Color 56, 75, 84.8, 128, 68The Color 8, 128, 68.119, 150, 166The Color 119, 150, 166.8, 88, 128The Color 8, 88, 128.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#088044
Advertisment

Previews

White Background

 

This preview shows how the RYB color 8, 88, 128 looks on a white background.

The color contrast ratio for these colors is 5.02, 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 RYB color 8, 88, 128 looks on a black background.

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

RYB 8, 88, 128 Background

 

This preview shows how black text looks on a background with the RYB color 8, 88, 128.

 

This preview shows how white text looks on a background with the RYB color 8, 88, 128.

Color Blindness Simulation


Dichromacy

Original Color
8, 88, 128
Protanopia
74, 121, 62
Deuteranopia
122, 133, 73
Tritanopia
49, 87, 131

Trichromacy

Original Color
8, 88, 128
Protanomaly
64, 117, 101
Deuteranomaly
71, 114, 97
Tritanomaly
34, 83, 124

Monochromacy

Original Color
8, 88, 128
Achromatopsia
85, 85, 85
Achromatomaly
57, 86, 101
Advertisment

CSS Examples


The CSS property to change the color of the text to RYB 8, 88, 128 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(8, 128, 68) }.

This example shows how text in the color rgb(8, 128, 68) looks like.

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

Here you see how black text with a 4 pixel rgb(8, 128, 68) 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 RYB 8, 88, 128 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(8, 128, 68) }.

If only the border color should be changed .border{ border-color:rgb(8, 128, 68) } can be used.

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

Background

The CSS property to change the background color of an element to RYB 8, 88, 128 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(8, 128, 68) }.

If only the background color should be changed .background{ background-color:rgb(8, 128, 68) } 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, "088044", 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 "150°, 94%, 50%" 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(150°, 94%, 50%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(46.85, -44.18, 24.35)", "CIELCH(47, 50.449, 151.143)", "YXY(15.9073, 0.2699, 0.4844)" and "CMYK(0.94, 0.00, 0.47, 0.50)".


Advertisment