Color Hex Logo

#0c158e Color Hex

#0C158E
(12,21,142)
0 Favorites   0 Comments

Color spaces of #0c158e

RGB 1221142
HSL0.660.840.30
HSV236°92°56°
CMYK 0.920.850.00   0.44
XYZ5.30232.567525.8073
Yxy2.56750.15740.0762
Hunter Lab16.023431.0263-84.2760
CIE-Lab18.221243.5442-64.7705

#0c158e color RGB value is (12,21,142).

#0c158e hex color red value is 12, green value is 21 and the blue value of its RGB is 142. Cylindrical-coordinate representations (also known as HSL) of color #0c158e hue: 0.66 , saturation: 0.84 and the lightness value of 0c158e is 0.30.

The process color (four color CMYK) of #0c158e color hex is 0.92, 0.85, 0.00, 0.44. Web safe color of #0c158e is #000099. Color #0c158e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00001100 00010101 10001110
Octal 14 25 216
Decimal 12 21 142
Hex C 15 8E

RGB Percentages of Color #0c158e

%6.86
%12.00
%81.14

CMYK Percentages of Color #0c158e

%92
%85
%0
%44

Triadic Colors of #0c158e

#0c158e #8e0c15 #158e0c

Analogous Colors of #0c158e

#0c158e #440c8e #0c568e

Monochromatic Colors of #0c158e

#0c158e

Complementary Color

#0c158e #8e850c

#0c158e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#0c158e Color Preview on White Background

Lorem ipsum dolor sit amet.

#0c158e Color CSS Codes

.mybgcolor {background-color:#0c158e; } 
.myforecolor {color:#0c158e; }
.mybordercolor {border:3px solid #0c158e; }

#0c158e Text Font Color

<p style="color:#0c158e">Text here</p>

This sample text font color is #0c158e
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#0c158e Background Color

<div style="background-color:#0c158e">
Div content here</div>

This div background color is #0c158e


#0c158e Border Color

<div style="border:3px solid #0c158e">
Div here</div>

This div border color is #0c158e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(12,21,142, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #0c158e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #0c158e;
  -webkit-box-shadow: 1px 1px 3px 2px #0c158e;
  box-shadow:         1px 1px 3px 2px #0c158e; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(12,21,142, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #0c158e">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #0c158e;
  -webkit-box-shadow: 1px 1px 3px 2px #0c158e;
  box-shadow:         1px 1px 3px 2px #0c158e;">
Div content here</div>

This div box has shadow with color #0c158e


Comments

No comments written yet.

Please login to write comment.