Color Hex Logo

#1242ab Color Hex

#1242AB
(18,66,171)
0 Favorites   0 Comments

Color spaces of #1242ab

RGB 1866171
HSL0.610.810.37
HSV221°89°67°
CMYK 0.890.610.00   0.33
XYZ9.54846.965339.3693
Yxy6.96530.17090.1246
Hunter Lab26.391918.3944-69.9699
CIE-Lab31.727826.7114-60.1935

#1242ab color RGB value is (18,66,171).

#1242ab hex color red value is 18, green value is 66 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #1242ab hue: 0.61 , saturation: 0.81 and the lightness value of 1242ab is 0.37.

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

Base Numbers

BaseRedGreenBlue
Binary 00010010 01000010 10101011
Octal 22 102 253
Decimal 18 66 171
Hex 12 42 AB

RGB Percentages of Color #1242ab

%7.06
%25.88
%67.06

CMYK Percentages of Color #1242ab

%89
%61
%0
%33

Triadic Colors of #1242ab

#1242ab #ab1242 #42ab12

Analogous Colors of #1242ab

#1242ab #2e12ab #128fab

Monochromatic Colors of #1242ab

#1242ab

Complementary Color

#1242ab #ab7b12

#1242ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#1242ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#1242ab Color CSS Codes

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

#1242ab Text Font Color

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

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


#1242ab Background Color

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

This div background color is #1242ab


#1242ab Border Color

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

This div border color is #1242ab


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(18,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 #1242ab">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #1242ab


Comments

No comments written yet.

Please login to write comment.