# Converting Colors

## Conversions

Get Conversions and Harmonies as JSON or XML.

## Details

The HSL color 0°, 100%, 15% is a dark color, and the websafe version is hex 660000. A complement of this color would be 180°, 100%, 15%, and the grayscale version is 0°, 0%, 21%.

A 20% lighter version of the original color is 179°, 33%, 37%, and 180°, 100%, 6% is the 20% darker color. If you saturate the color by 10%, you get 180°, 100%, 15%, and if you desaturate by 10%, it is 180°, 82%, 16%.

### Distribution

These gradients show how the HSL color 180°, 100%, 15% changes by changing the brightness by 10 percent. The first row shows a shift by +10% for each color and the second row -10%.

 180°, 100%, 15% 180°, 47%, 27% 179°, 33%, 37% 179°, 26%, 47% 179°, 29%, 58% 179°, 39%, 69% 179°, 61%, 80% 180°, 100%, 89% 180°, 100%, 95% 0°, 0%, 100%
 180°, 100%, 15% 180°, 100%, 11% 180°, 100%, 6% 238°, 100%, 2% 0°, 0%, 0%

Similar to the brightness gradients but the following show a change of the HSL color 180°, 100%, 15% by changing the saturation by 10% instead.

 180°, 100%, 15% 180°, 82%, 16% 180°, 67%, 18% 180°, 54%, 20% 180°, 43%, 21% 180°, 33%, 22% 180°, 25%, 24% 180°, 18%, 26% 180°, 11%, 27% 180°, 5%, 29%

## Harmonies

### Analogous

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

 159°, 44%, 21% 180°, 100%, 15% 190°, 100%, 18%

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

 180°, 100%, 15% 281°, 20%, 30% 35°, 40%, 24%

### 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.

 97°, 0%, 15% 360°, 100%, 15% 54°, 0%, 15%

### Square

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

 121°, 0%, 15% 33°, 0%, 15% 75°, 0%, 15% 145°, 0%, 15%

### Rectangle

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

 360°, 100%, 15% 26°, 0%, 15% 75°, 0%, 15% 115°, 0%, 15%

### Sweetspot

The sweet spot groups the original color and five complimentary colors.

 0°, 0%, 15% 0°, 0%, 20% 0°, 0%, 10% 0°, 0%, 60%

## SVG Images

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

## Previews

### White Background

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

### Black Background

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

### HSL 360°, 100%, 15% Background

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

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

## CSS Examples

The CSS property to change the color of the text to HSL 360°, 100%, 15% is called "color". The color property can be set on classes, ids or directly on the HTML element `.text, #text, p{ color:hsl(360, 100%, 15%) }`.

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

If you want to add a text shadow in that color use `.shadow{ text-shadow: 4px 4px 2px hsl(360, 100%, 15%) }`.

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

If only the border color should be changed `.border{ border-color:hsl(360, 100%, 15%) }` can be used.

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

If you want to add a box shadow in that color use `.boxshadow{ -moz-box-shadow:4px 4px 4px 4px hsl(360, 100%, 15%); -webkit-box-shadow:4px 4px 4px 4px hsl(360, 100%, 15%); box-shadow:4px 4px 4px 4px hsl(360, 100%, 15%) }`.

### Background

The CSS property to change the background color of an element to HSL 360°, 100%, 15% is called "background". The background property can be set on classes, ids or directly on the HTML element `.background, #background, body{ background:hsl(360, 100%, 15%) }`.

If only the background color should be changed `.background{ background-color:hsl(360, 100%, 15%) }` 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.