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 1
FormatColor
HexFF5E1A
RGB255, 94, 26
RGB Percent100%, 37%, 10%
CMY0.0000, 0.6300, 0.9000
CMYK0.00, 0.63, 0.90, 0.00
HSL18°, 100%, 55%
HSV18°, 90%, 100%
XYZ45.4548, 29.4002, 4.2273
Conversions Part 2
FormatColor
RYB255, 123, 26
Decimal16735770
CIELab61.13, 58.54, 65.27
CIELCh61, 87.670, 48.112
Yxy29.4002, 0.5748, 0.3718
Android (android.graphics.Color)4294925850 (0xFFFF5E1A)
YUV134.3870, -53.4348, 105.7776

Book Cover

Are you new to web development and want to know the different ways to express colors in CSS? Then this booklet is for you!

📕 HOWCOLORS.WORK

  A CSS color notation guide.

or read the free sample first!

Details

The HSL color 18°, 100%, 55% is a dark color, and the websafe version is hex FF6600. The color can be described as dark washed red. A complement of this color would be 198°, 100%, 55%, and the grayscale version is 0°, 0%, 57%.

A 20% lighter version of the original color is 186°, 100%, 73%, and 200°, 100%, 39% is the 20% darker color. If you saturate the color by 10%, you get 198°, 100%, 50%, and if you desaturate by 10%, it is 198°, 100%, 60%.

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 HSL color 198°, 100%, 55% 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 HSL color 198°, 100%, 55% by changing the saturation by 10% instead.

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

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.

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

SVG Images

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


Previews

White Background

 

This preview shows how the HSL color 18°, 100%, 55% looks on a white background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✓ Pass
Any Text WCAG AA ✕ Fail
Large Text (above 18pt) WCAG AAA ✕ Fail
Any Text WCAG AAA ✕ Fail

If you want to check with other color combinations, try the Color Contrast Checker.

Black Background

 

This preview shows how the HSL color 18°, 100%, 55% looks on a black background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✓ Pass
Any Text WCAG AA ✓ Pass
Large Text (above 18pt) WCAG AAA ✓ Pass
Any Text WCAG AAA ✕ Fail

If you want to check with other color combinations, try the Color Contrast Checker.

HSL 18°, 100%, 55% Background

 

This preview shows how black text looks on a background with the HSL color 18°, 100%, 55%.

 

This preview shows how white text looks on a background with the HSL color 18°, 100%, 55%.

Color Blindness Simulation

Color vision deficiency is a very complex topic, and I could not describe the different causes any better than Wikipedia does, so if you want to learn more, you should check out their article about color blindness.

Dichromacy

Original Color
18°, 100%, 55%
Protanopia
51°, 62%, 40%
Tritanopia
358°, 100%, 68%

Trichromacy

Original Color
18°, 100%, 55%
Protanomaly
34°, 71%, 45%
Tritanomaly
7°, 100%, 64%

Monochromacy

Original Color
18°, 100%, 55%
Achromatopsia
0°, 0%, 53%
Achromatomaly
18°, 36%, 54%
CSS Examples

Text

The CSS property to change the color of the text to HSL 18°, 100%, 55% is called "color". The color property can be set on classes, ids or directly on the HTML element.

This example shows how text in the color hsl(18, 100%, 55%) looks like.

.text, #text, p{color:hsl(18, 100%, 55%)}
📋 Copy Code

If you want to add a text shadow in that color use the text-shadow property, you can generate a text shadow directly with our 🔧 CSS Text Shadow Generator.

Here you see how black text with a 4 pixel hsl(18, 100%, 55%) colored shadow looks like.

.shadow{ text-shadow: 4px 4px 2px hsl(18, 100%, 55%) } 
📋 Copy Code

Border

The CSS property to change the border of an element to HSL 18°, 100%, 55% is called "border". The border property can be set on classes, ids or directly on the HTML element.

This example shows the color as border, it can be applied via the CSS property "border" or "border-color".

.border, #border, table{ border:4px solid hsl(18, 100%, 55%) }
📋 Copy Code

If only the border color should be changed use the property border-color.

.border{ border-color:hsl(18, 100%, 55%) }
📋 Copy Code

If you want to add a box shadow in that color use:

Here you see how a box with a 4 pixel hsl(18, 100%, 55%) colored shadow looks like.

.boxshadow{ -moz-box-shadow:4px 4px 4px 4px hsl(18, 100%, 55%); -webkit-box-shadow:4px 4px 4px 4px hsl(18, 100%, 55%); box-shadow:4px 4px 4px 4px hsl(18, 100%, 55%) }
📋 Copy Code

Background

The CSS property to change the background color of an element to HSL 18°, 100%, 55% is called "background". The background property can be set on classes, ids or directly on the HTML element.

.background, #background, body{ background:hsl(18, 100%, 55%) }
📋 Copy Code

If only the background color should be changed can be used:

.background{ background-color:hsl(18, 100%, 55%) }
📋 Copy Code

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 or radial gradient as background or border, check our 🌈 CSS Gradient Generator.


Book Cover

Are you new to web development and want to know the different ways to express colors in CSS? Then this booklet is for you!

📕 HOWCOLORS.WORK

  A CSS color notation guide.

or read the free sample first!

How-to use Converting Colors

Conversion

To convert, paste a string in one of these color formats, for example, "FF5E1A", into the input field and click on convert. The result will be in the section 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 "18°, 90%, 100%" 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(18°, 90%, 100%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(61.13, 58.54, 65.27)", "CIELCH(61, 87.670, 48.112)", "YXY(29.4002, 0.5748, 0.3718)" and "CMYK(0.00, 0.63, 0.90, 0.00)".

Details

In the details section, you first get a summary of the color and, if available, a description like "dark muted red". You can see the color distribution in different formats. For example, in the RGB format, you get to know the amount of red, green, and blue in your color.

At last, you get brightness and saturation gradients of your color in 10% steps. So if you need a brighter or darker version, you can pick it from here.

Harmonies

The harmonies basically show you colors that go well with the color you are currently viewing. If you like one of the harmonies, you can directly create a 🌈 CSS Gradient or 🔧 CSS Text Shadow from it or view the harmony as a 🖌️ Color Bucket.

SVG Images

This short section shows you a selection of SVG files using the current color. You can download these files and use them in your projects, for example, as a background image.

Previews

You want to see how your color looks on a white or black background? Then you should check out the "Previews" section of the color page.

You also see the color contrast of your color on these backgrounds and get a link to the Color Contrast Checker with your color preselected.

Color Blindness Simulation

When you select a color for your project, you might want to keep in mind how this color is perceived by anyone with a color vision deficiency. Therefore I have added this section showing you previews of your color for different color vision deficiencies.

CSS Examples

If you are new to web development, you might want to see how to apply your color as foreground, background, or border color. The "CSS Examples" section gives you exactly this, help how to use the current color in CSS.

If you are viewing a color in a format not available in CSS, then you will see the color converted to a compatible format.

Color Bucket

You decided on colors for your next project and want to download them as a palette or share them with friends to discuss your decision? Then you should have a look at the color bucket. It allows you to store up to 10 colors, auto-creates color palettes for each of these colors based on the lightness, and gives you a WCAG matrix.

You can download each of the color palettes or the selected colors as a GIMP, Adobe® ASE, or Tailwind CSS palette. Additionally, you can view everything as a 🌈 CSS Gradient, 🔧 CSS Text Shadow, or 📷 Color Palette Image.

To add a color to your color bucket, I put a link "❤️ Add this color to the bucket" in the header section of each page on this website.

Color Contrast Checker

When you decide on colors for a project, it is essential to keep the color contrast in mind. My Color Contrast Checker allows you to check the colors you have selected according to the Web Content Accessibility Guidelines (WCAG) 2.0.