Color Hex Logo

#1542ab Color Hex

#1542AB
(21,66,171)
0 Favorites   0 Comments

Color spaces of #1542ab

RGB 2166171
HSL0.620.780.38
HSV222°88°67°
CMYK 0.880.610.00   0.33
XYZ9.60826.996139.3721
Yxy6.99610.17160.1250
Hunter Lab26.450118.5536-69.7405
CIE-Lab31.798026.8928-60.0758

#1542ab color RGB value is (21,66,171).

#1542ab hex color red value is 21, green value is 66 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #1542ab hue: 0.62 , saturation: 0.78 and the lightness value of 1542ab is 0.38.

The process color (four color CMYK) of #1542ab color hex is 0.88, 0.61, 0.00, 0.33. Web safe color of #1542ab is #003399. Color #1542ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00010101 01000010 10101011
Octal 25 102 253
Decimal 21 66 171
Hex 15 42 AB

RGB Percentages of Color #1542ab

%8.14
%25.58
%66.28

CMYK Percentages of Color #1542ab

%88
%61
%0
%33

Triadic Colors of #1542ab

#1542ab #ab1542 #42ab15

Analogous Colors of #1542ab

#1542ab #3315ab #158dab

Monochromatic Colors of #1542ab

#1542ab

Complementary Color

#1542ab #ab7e15

#1542ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#1542ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#1542ab Color CSS Codes

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

#1542ab Text Font Color

<p style="color:#1542ab">Text here</p>

This sample text font color is #1542ab
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.


#1542ab Background Color

<div style="background-color:#1542ab">
Div content here</div>

This div background color is #1542ab


#1542ab Border Color

<div style="border:3px solid #1542ab">
Div here</div>

This div border color is #1542ab


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(21,66,171, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #1542ab; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #1542ab;
  -webkit-box-shadow: 1px 1px 3px 2px #1542ab;
  box-shadow:         1px 1px 3px 2px #1542ab; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #1542ab


Comments

No comments written yet.

Please login to write comment.