hsl(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color....

28
Converting Colors HSL(300°, 2%, 80%)

Upload: others

Post on 03-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

ConvertingColors

HSL(300°, 2%, 80%)

Page 2: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

Have a look what the booklet forHSL(300°, 2%, 80%) contains.

HSL(300°, 2%, 80%) 3 ................................................ Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 17 ........................................................... Color Blindness Simulation 20 ........................... CSS Examples 23 ..................................................

Page 3: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

Color

HSL(300°, 2%, 80%)

Page 6: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 6/28 convertingcolors.com

Details

The HSL color 300°, 2%, 80% is a light color, andthe websafe version is hex CCCCCC. Acomplement of this color would be 120°, 2%,80%, and the grayscale version is 0°, 0%, 80%.

A 20% lighter version of the original color is 0°,0%, 100%, and 120°, 1%, 59% is the 20% darkercolor. If you saturate the color by 10%, you get120°, 18%, 76%, and if you desaturate by 10%, itis 300°, 23%, 84%.

Page 7: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 7/28 convertingcolors.com

Distribution

RGB

Red (80%)

Green (80%)

Blue (80%)

RYB

Red (80%)

Yellow (80%)

Blue (80%)

CMYK

Cyan (1%)

Magenta (0%)

Yellow (1%)

Black (20%)

CMY

Cyan (20%)

Magenta (20%)

Yellow (20%)

Page 8: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 8/28 convertingcolors.com

Brightness & SaturationGradients

These gradients show how the HSL color 120°, 2%, 80%changes by changing the brightness by 10 percent. Thefirst figure shows a shift by +10% for each color and thesecond figure -10%.

Similar to the brightness gradients but the followingsaturation gradients show a change of the HSL color120°, 2%, 80% by changing the saturation by 10%instead.

Page 9: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 9/28 convertingcolors.com

120°, 2%, 80%

120°, 5%, 91%

0°, 0%, 100%

120°, 2%, 80%

120°, 1%, 69%

120°, 1%, 59%

120°, 1%, 49%

120°, 1%, 39%

120°, 1%, 30%

120°, 2%, 21%

121°, 2%, 12%

120°, 18%, 3%

0°, 0%, 0%

120°, 2%, 80%

120°, 18%, 76%

120°, 30%, 72%

120°, 39%, 68%

120°, 46%, 64%

120°, 51%, 60%

120°, 2%, 80%

300°, 23%, 84%

300°, 64%, 88%

300°, 100%, 90%

Page 11: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 11/28 convertingcolors.com

Harmonies

AnalogousThe analogous color harmony consists of three colorsthat are next to each other on the color wheel.

67°, 2%, 80%

120°, 2%, 80%

161°, 3%, 80%

Page 12: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 12/28 convertingcolors.com

TriadThe triadic color harmony groups three colors that areevenly spaced from another and form a triangle on thecolor wheel.

120°, 2%, 80%

215°, 4%, 80%

4°, 4%, 81%

Page 13: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 13/28 convertingcolors.com

Split ComplementarySplit-complementary colors differ from thecomplementary color scheme. The scheme consists ofthree colors, the original color and two neighbors of thecomplement color.

160°, 3%, 79%

300°, 2%, 80%

67°, 2%, 79%

Page 14: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 14/28 convertingcolors.com

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

300°, 2%, 80%

20°, 4%, 80%

119°, 2%, 80%

199°, 4%, 80%

Page 15: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 15/28 convertingcolors.com

RectangleThe rectangle color scheme consists of four colors thatform a rectangle on the color wheel.

300°, 2%, 80%

357°, 4%, 80%

119°, 2%, 80%

176°, 3%, 79%

Page 16: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 16/28 convertingcolors.com

SweetspotThe sweet spot groups the original color and fivecomplimentary colors.

300°, 2%, 80%

0°, 0%, 100%

240°, 2%, 80%

0°, 0%, 50%

0°, 0%, 0%

Page 17: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 17/28 convertingcolors.com

Previews

White Background

This preview shows how the HSL color 300°, 2%, 80%looks on a white background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✕ FailAny Text WCAG AA ✕ FailLarge Text (above 18pt) WCAG AAA ✕ FailAny Text WCAG AAA ✕ Fail

Page 18: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 18/28 convertingcolors.com

Black Background

This preview shows how the HSL color 300°, 2%, 80%looks on a black background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✓ PassAny Text WCAG AA ✓ PassLarge Text (above 18pt) WCAG AAA ✓ PassAny Text WCAG AAA ✓ Pass

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

Page 19: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 19/28 convertingcolors.com

HSL 300°, 2%, 80% Background

This preview shows how black text looks on abackground with the HSL color 300°, 2%, 80%.

This preview shows how white text looks on abackground with the HSL color 300°, 2%, 80%.

Page 20: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 20/28 convertingcolors.com

Color BlindnessSimulation

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

Dichromacy

Original Color300°, 2%, 80%

Protanopia324°, 5%, 80%

Deuteranopia338°, 27%, 82%

Page 21: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 21/28 convertingcolors.com

Tritanopia262°, 17%, 82%

Page 22: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 22/28 convertingcolors.com

Trichromacy

Original Color300°, 2%, 80%

Protanomaly315°, 4%, 80%

Deuteranomaly335°, 18%, 81%

Tritanomaly262°, 12%, 81%

Monochromacy

Original Color300°, 2%, 80%

Achromatopsia0°, 0%, 80%

Achromatomaly0°, 0%, 80%

Page 23: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 23/28 convertingcolors.com

CSS Examples

Text

The CSS property to change the color of the text to HSL300°, 2%, 80% is called "color". The color property canbe set on classes, ids or directly on the HTML element.

This example shows how text in the color hsl(300, 2%,80%) looks like.

.text, #text, p{ color:hsl(300, 2%, 80%)}

Page 24: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 24/28 convertingcolors.com

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

Here you see how black text with a 4 pixel hsl(300, 2%,Here you see how black text with a 4 pixel hsl(300, 2%,

80%) colored shadow looks like.80%) colored shadow looks like.

.shadow{ text-shadow: 4px 4px 2px hsl(300,2%, 80%) }

Border

The CSS property to change the border of an element toHSL 300°, 2%, 80% is called "border". The borderproperty can be set on classes, ids or directly on theHTML element.

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

.border, #border, table{ border:4px solidhsl(300, 2%, 80%) }

Page 25: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 25/28 convertingcolors.com

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

.border{ border-color:hsl(300, 2%, 80%) }

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

Here you see how a box with a 4 pixel hsl(300, 2%,80%) colored shadow looks like.

.boxshadow{ -moz-box-shadow:4px 4px 4px4px hsl(300, 2%, 80%); -webkit-box-shadow:4px 4px 4px 4px hsl(300, 2%, 80%);box-shadow:4px 4px 4px 4px hsl(300, 2%,80%) }

Page 26: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

13-02-2021 26/28 convertingcolors.com

Background

The CSS property to change the background color of anelement to HSL 300°, 2%, 80% is called "background".The background property can be set on classes, ids ordirectly on the HTML element.

.background, #background, body{background:hsl(300, 2%, 80%) }

If only the background color should be changed can beused:

.background{ background-color:hsl(300, 2%,80%) }

This example shows the color as background, it isapplied via the CSS property "background".

To optimize and compress your CSS code, you can useour online CSS compressor and optimizer based oncsstidy. If you want to create a linear or radial gradientas background or border, check our CSS GradientGenerator.

Page 27: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

Hey! You found this bookletinteresting? Have a look at my otherbooklet HOWCOLORS.WORK – A CSScolor notation guide.

HOWCOLORS.WORKA CSS color notation guide.Are you new to web developmentand want to know the differentways to express colors in CSS?Then this booklet is for you!

HOWCOLORS.WORK will helpyou understand the syntax ofthe color notations in CSS.You will learn all the current andnew ways to express colors toprepare yourself for the future!

Buy now, starting at $4.99!

Page 28: HSL(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color. 160°, 3%, 79% 300°, 2%, 80% 67°, 2%, 79%. 3-10-2020 14/28 convertingcolors.com

Follow meon Twitter!

@ConvertingColor