hsl(300°, 2%, 80%) · three colors, the original color and two neighbors of the complement color....
TRANSCRIPT
ConvertingColors
HSL(300°, 2%, 80%)
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 ..................................................
Color
HSL(300°, 2%, 80%)
13-02-2021 4/28 convertingcolors.com
Conversions
Conversions Part 1
Format Color
Hex CDCBCD
RGB 205, 203, 205
RGB Percent 80%, 80%, 80%
CMY 0.1960, 0.2040, 0.1960
CMYK 0.00, 0.01, 0.00, 0.20
HSL 300°, 2%, 80%
HSV 300°, 1%, 80%
XYZ 57.5554, 60.0932, 66.3359
13-02-2021 5/28 convertingcolors.com
Conversions
Conversions Part 2
Format Color
RYB 205, 203, 205
Decimal 13487053
CIELab 81.89, 1.08, -0.77
CIELCh 82, 1.327, 324.299
Yxy 60.0932, 0.3128,0.3266
Android(android.graphics.Color)
4291677133(0xFFCDCBCD)
YUV 203.8260, 0.5788,1.0296
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%.
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%)
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.
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%
13-02-2021 10/28 convertingcolors.com
120°, 56%, 56%
120°, 59%, 52%
120°, 68%, 48%
120°, 83%, 44%
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%
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%
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%
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%
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%
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%
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
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.
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%.
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%
13-02-2021 21/28 convertingcolors.com
Tritanopia262°, 17%, 82%
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%
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%)}
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%) }
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%) }
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.
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!
Follow meon Twitter!
@ConvertingColor