converting colors - hex(0c396d)

29
Converting Colors Hex(0C396D)

Upload: others

Post on 31-Oct-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Converting Colors - Hex(0C396D)

ConvertingColors

Hex(0C396D)

Page 2: Converting Colors - 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 ..................................................

Page 3: Converting Colors - Hex(0C396D)

Color

Hex(0C396D)

Page 6: Converting Colors - Hex(0C396D)

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.

Page 7: Converting Colors - Hex(0C396D)

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%)

Page 8: Converting Colors - Hex(0C396D)

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.

Page 9: Converting Colors - Hex(0C396D)

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

Page 11: Converting Colors - Hex(0C396D)

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

Page 12: Converting Colors - Hex(0C396D)

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

Page 13: Converting Colors - Hex(0C396D)

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

Page 14: Converting Colors - Hex(0C396D)

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

Page 15: Converting Colors - Hex(0C396D)

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

Page 16: Converting Colors - Hex(0C396D)

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

Page 17: Converting Colors - Hex(0C396D)

31-10-2021 17/29 convertingcolors.com

SweetspotThe sweet spot groups the original color and fivecomplimentary colors.

0C396D

687A8F

0C6D40

313B47

C7C7C7

474747

Page 18: Converting Colors - Hex(0C396D)

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

Page 19: Converting Colors - Hex(0C396D)

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.

Page 20: Converting Colors - Hex(0C396D)

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.

Page 21: Converting Colors - Hex(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

Page 22: Converting Colors - Hex(0C396D)

31-10-2021 22/29 convertingcolors.com

Tritanopia004044

Page 24: Converting Colors - Hex(0C396D)

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}

Page 25: Converting Colors - Hex(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 }

Page 26: Converting Colors - Hex(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 }

Page 27: Converting Colors - Hex(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.

Page 28: Converting Colors - Hex(0C396D)

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 29: Converting Colors - Hex(0C396D)

Follow meon Twitter!

@ConvertingColor