converting colors - hex(0c396d)
TRANSCRIPT
ConvertingColors
Hex(0C396D)
Have a look what the booklet forHex(0C396D) contains.
Hex(0C396D) 3 ............................................................ Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 18 ........................................................... Color Blindness Simulation 21 ........................... CSS Examples 24 ..................................................
Color
Hex(0C396D)
31-10-2021 4/29 convertingcolors.com
Conversions
Conversions Part 1
Format Color
Hex 0C396D
RGB 12, 57, 109
RGB Percent 5%, 22%, 43%
CMY 0.9529, 0.7765, 0.5725
CMYK 0.89, 0.48, 0.00, 0.57
HSL 212°, 80%, 24%
HSV 212°, 89%, 43%
XYZ 4.3751, 4.1085, 15.0304
YIQ 49.4730, -43.5120, 6.6320
31-10-2021 5/29 convertingcolors.com
Conversions
Conversions Part 2
Format Color
RYB 12, 43, 109
Decimal 801133
CIELab 24.03, 6.66, -34.35
CIELCh 24, 34.991, 280.975
Yxy 4.1085, 0.1861,0.1747
Android(android.graphics.Color)
4278991213(0xFF0C396D)
YUV 49.4730, 29.3468,-32.8638
Hunter-Lab 20.2695, 3.0565,-29.7765
31-10-2021 6/29 convertingcolors.com
Details
The Hex color 0C396D is a dark color, and thewebsafe version is hex 003366. A complement ofthis color would be 6D400C, and the grayscaleversion is 313131.
A 20% lighter version of the original color is4B67A1, and 000E3D is the 20% darker color. Ifyou saturate the color by 10%, you get 01336D,and if you desaturate by 10%, it is 173F6D.
31-10-2021 7/29 convertingcolors.com
Distribution
RGB
Red (5%)
Green (22%)
Blue (43%)
RYB
Red (5%)
Yellow (17%)
Blue (43%)
CMYK
Cyan (89%)
Magenta (48%)
Yellow (0%)
Black (57%)
CMY
Cyan (95%)
Magenta (78%)
Yellow (57%)
31-10-2021 8/29 convertingcolors.com
Brightness & SaturationGradients
These gradients show how the Hex color 0C396Dchanges 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 color0C396D by changing the saturation by 10% instead.
31-10-2021 9/29 convertingcolors.com
0C396D
2F5087
4B67A1
6680BC
819AD8
9CB5F5
B8D1FF
D5EDFF
F2FFFF
FFFFFF
0C396D
002454
000E3D
000326
000110
000000
0C396D
01336D
00336D
0C396D
173F6D
22456D
2D4B6D
38506D
43566D
31-10-2021 10/29 convertingcolors.com
4D5C6D
58626D
63686D
6E6E6D
31-10-2021 11/29 convertingcolors.com
Harmonies
AnalogousThe analogous color harmony consists of three colorsthat are next to each other on the color wheel.
00416B
0C396D
462E61
31-10-2021 12/29 convertingcolors.com
TriadThe triadic color harmony groups three colors that areevenly spaced from another and form a triangle on thecolor wheel.
0C396D
632618
004427
31-10-2021 13/29 convertingcolors.com
ComplementaryThe complementary color scheme is a pair of colorswhich are on the opposite of each other on the colorwheel.
0C396D
6D400C
31-10-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.
20410D
0C396D
533201
31-10-2021 15/29 convertingcolors.com
SquareThe square scheme is like the rectangle color scheme,but the four colors are evenly spaced on the colorwheel.
0C396D
681E31
3D3B00
004542
31-10-2021 16/29 convertingcolors.com
RectangleThe rectangle color scheme consists of four colors thatform a rectangle on the color wheel.
0C396D
592553
3D3B00
00431E
31-10-2021 17/29 convertingcolors.com
SweetspotThe sweet spot groups the original color and fivecomplimentary colors.
0C396D
687A8F
0C6D40
313B47
C7C7C7
474747
31-10-2021 18/29 convertingcolors.com
Previews
White Background
This preview shows how the Hex color 0C396D 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
31-10-2021 19/29 convertingcolors.com
Black Background
This preview shows how the Hex color 0C396D 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.
31-10-2021 20/29 convertingcolors.com
Hex 0C396D Background
This preview shows how black text looks on abackground with the Hex color 0C396D.
This preview shows how white text looks on abackground with the Hex color 0C396D.
31-10-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 Color0C396D
Protanopia1E386C
Deuteranopia003B67
31-10-2021 22/29 convertingcolors.com
Tritanopia004044
31-10-2021 23/29 convertingcolors.com
Trichromacy
Original Color0C396D
Protanomaly17386C
Deuteranomaly043A69
Tritanomaly043D53
Monochromacy
Original Color0C396D
Achromatopsia313131
Achromatomaly243447
31-10-2021 24/29 convertingcolors.com
CSS Examples
Text
The CSS property to change the color of the text to Hex0C396D 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 #0C396Dlooks like.
.text, #text, p{ color:#0C396D}
31-10-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 #0C396DHere you see how black text with a 4 pixel #0C396D
colored shadow looks like.colored shadow looks like.
.shadow{ text-shadow: 4px 4px 2px #0C396D}
Border
The CSS property to change the border of an element toHex 0C396D 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#0C396D }
31-10-2021 26/29 convertingcolors.com
If only the border color should be changed use theproperty border-color.
.border{ border-color:#0C396D }
If you want to add a box shadow in that color use:
Here you see how a box with a 4 pixel #0C396Dcolored shadow looks like.
.boxshadow{ -moz-box-shadow:4px 4px 4px4px #0C396D; -webkit-box-shadow:4px 4px4px 4px #0C396D; box-shadow:4px 4px 4px4px #0C396D }
31-10-2021 27/29 convertingcolors.com
Background
The CSS property to change the background color of anelement to Hex 0C396D is called "background". Thebackground property can be set on classes, ids ordirectly on the HTML element.
.background, #background, body{background:#0C396D }
If only the background color should be changed can beused:
.background{ background-color:#0C396D }
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