Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
ConvertingColors
Hex(221038)
Have a look what the booklet forHex(221038) contains.
Hex(221038) 3 ............................................................. Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 18 ........................................................... Color Blindness Simulation 21 ........................... CSS Examples 24 ..................................................
Color
Hex(221038)
10-02-2021 4/29 convertingcolors.com
Conversions
Conversions Part 1
Format Color
Hex 221038
RGB 34, 16, 56
RGB Percent 13%, 6%, 22%
CMY 0.8667, 0.9373, 0.7804
CMYK 0.39, 0.71, 0.00, 0.78
HSL 267°, 56%, 14%
HSV 267°, 71%, 22%
XYZ 1.5588, 0.9962, 3.8515
10-02-2021 5/29 convertingcolors.com
Conversions
Conversions Part 2
Format Color
RYB 34, 16, 56
Decimal 2232376
CIELab 8.96, 19.45, -22.62
CIELCh 9, 29.831, 310.691
Yxy 0.9962, 0.2433,0.1555
Android(android.graphics.Color)
4280422456(0xFF221038)
YUV 25.9420, 14.8186,7.0669
10-02-2021 6/29 convertingcolors.com
Details
The Hex color 221038 is a dark color, and thewebsafe version is hex 000033. A complement ofthis color would be 263810, and the grayscaleversion is 1A1A1A.
A 20% lighter version of the original color is513B67, and 000009 is the 20% darker color. Ifyou saturate the color by 10%, you get 1F0A38,and if you desaturate by 10%, it is 251638.
10-02-2021 7/29 convertingcolors.com
Distribution
RGB
Red (13%)
Green (6%)
Blue (22%)
RYB
Red (13%)
Yellow (6%)
Blue (22%)
CMYK
Cyan (39%)
Magenta (71%)
Yellow (0%)
Black (78%)
CMY
Cyan (87%)
Magenta (94%)
Yellow (78%)
10-02-2021 8/29 convertingcolors.com
Brightness & SaturationGradients
These gradients show how the Hex color 221038changes 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 Hex color221038 by changing the saturation by 10% instead.
10-02-2021 9/29 convertingcolors.com
221038
39254F
513B67
695281
836A9B
9D84B6
B89ED1
D4B9EE
F1D5FF
FFF1FF
221038
0D0023
000009
000000
221038
1F0A38
1C0538
190038
221038
251638
281B38
2B2138
2E2638
312C38
10-02-2021 10/29 convertingcolors.com
343238
383738
3B3D38
3E4238
10-02-2021 11/29 convertingcolors.com
Harmonies
AnalogousThe analogous color harmony consists of three colorsthat are next to each other on the color wheel.
001A41
221038
360427
10-02-2021 12/29 convertingcolors.com
TriadThe triadic color harmony groups three colors that areevenly spaced from another and form a triangle on thecolor wheel.
221038
2B1300
002320
10-02-2021 13/29 convertingcolors.com
ComplementaryThe complementary color scheme is a pair of colorswhich are on the opposite of each other on the colorwheel.
221038
263810
10-02-2021 14/29 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.
002207
221038
1B1B00
10-02-2021 15/29 convertingcolors.com
SquareThe square scheme is like the rectangle color scheme,but the four colors are evenly spaced on the colorwheel.
221038
380800
002000
002233
10-02-2021 16/29 convertingcolors.com
RectangleThe rectangle color scheme consists of four colors thatform a rectangle on the color wheel.
221038
3B001A
002000
002319
10-02-2021 17/29 convertingcolors.com
SweetspotThe sweet spot groups the original color and fivecomplimentary colors.
221038
413A4A
102638
211D26
A6A6A6
262626
10-02-2021 18/29 convertingcolors.com
Previews
White Background
This preview shows how the Hex color 221038 looks ona white 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
10-02-2021 19/29 convertingcolors.com
Black Background
This preview shows how the Hex color 221038 looks ona black 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
If you want to check with other color combinations, trythe Color Contrast Checker.
10-02-2021 20/29 convertingcolors.com
Hex 221038 Background
This preview shows how black text looks on abackground with the Hex color 221038.
This preview shows how white text looks on abackground with the Hex color 221038.
10-02-2021 21/29 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 Color221038
Protanopia001936
Deuteranopia001B2F
10-02-2021 22/29 convertingcolors.com
Tritanopia1C1A1C
10-02-2021 23/29 convertingcolors.com
Trichromacy
Original Color221038
Protanomaly0C1637
Deuteranomaly0C1732
Tritanomaly1E1626
Monochromacy
Original Color221038
Achromatopsia1A1A1A
Achromatomaly1D1625
10-02-2021 24/29 convertingcolors.com
CSS Examples
Text
The CSS property to change the color of the text to Hex221038 is called "color". The color property can be seton classes, ids or directly on the HTML element.
This example shows how text in the color #221038looks like.
.text, #text, p{ color:#221038}
10-02-2021 25/29 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 #221038Here you see how black text with a 4 pixel #221038
colored shadow looks like.colored shadow looks like.
.shadow{ text-shadow: 4px 4px 2px #221038}
Border
The CSS property to change the border of an element toHex 221038 is called "border". The border property canbe set on classes, ids or directly on the HTML element.
This example shows the color as border, it can beapplied via the CSS property "border" or "border-color".
.border, #border, table{ border:4px solid#221038 }
10-02-2021 26/29 convertingcolors.com
If only the border color should be changed use theproperty border-color.
.border{ border-color:#221038 }
If you want to add a box shadow in that color use:
Here you see how a box with a 4 pixel #221038colored shadow looks like.
.boxshadow{ -moz-box-shadow:4px 4px 4px4px #221038; -webkit-box-shadow:4px 4px4px 4px #221038; box-shadow:4px 4px 4px4px #221038 }
10-02-2021 27/29 convertingcolors.com
Background
The CSS property to change the background color of anelement to Hex 221038 is called "background". Thebackground property can be set on classes, ids ordirectly on the HTML element.
.background, #background, body{background:#221038 }
If only the background color should be changed can beused:
.background{ background-color:#221038 }
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