Converting Colors

Color Conversions

Get Conversions and Harmonies as JSON or XML.

Color Details

The Hex color 24035A can be considered as a dark color, the websafe version is hex 330066. A complement of this color would be 002700 and the grayscale version is 161616.

A 20% lighter version of the original color is 59338D and 00032B is the 20% darker color. If you saturate the color by 10% you get 22005A and if you desaturate by 10% it is 2A0C5A.

Distribution

These gradients show how the Hex color 24035A changes by changing the brightness by 10 percent. The first row shows a change by +10% for each color and the second row -10%.

 24035A 3F1B73 59338D 744BA8 8F63C3 AA7DE0 C697FD E3B2FF FFCEFF FFEAFF
 24035A 0 00032B 000115 000000

Similar to the brightness gradients but the following show a change of the Hex color 24035A by changing the saturation by 10% instead.

 24035A 22005A
 24035A 2A0C5A 2F155A 351E5A 3A275A 40305A 46395A 4B425A 514B5A 56545A

Color Harmonies

Analogous

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

 00206D 24035A 500038

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

 24035A 390F00 002A29

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

 24035A 002700

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbours of the complement color.

 002900 24035A 181F00

Square

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

 24035A 4F0000 002700 002C4F

Rectangle

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

 24035A 59001E 002700 00291B

Sweetspot

The sweetspot groups the original color and five complimentary colors.

 24035A 605375 033A5A 2E263B BABABA 3B3B3B

Color Images

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

Color Preview

White Background

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

Black Background

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

Hex 24035A Background

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

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

Color CSS

The css property to change the color of a text to Hex 24035A is called "color". The color property can be set on classes, ids or directly on the html element `.text, #text, p{ color:#24035A }`.

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

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

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

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

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

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

Background

The css property to change the background color of a element to Hex 24035A is called "background". The background property can be set on classes, ids or directly on the html element `.background, #background, body{ background:#24035A }`.

If only the background color should be changed `.background{ background-color:#24035A }` 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.