Color Hex Logo

#0218ab Color Hex

#0218AB
(2,24,171)
0 Favorites   0 Comments

Color spaces of #0218ab

RGB 224171
HSL0.640.980.34
HSV232°99°67°
CMYK 0.990.860.00   0.33
XYZ7.70243.606438.8182
Yxy3.60640.15370.0719
Hunter Lab18.990539.1647-107.9003
CIE-Lab22.325051.1769-75.7372

#0218ab color RGB value is (2,24,171).

#0218ab hex color red value is 2, green value is 24 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #0218ab hue: 0.64 , saturation: 0.98 and the lightness value of 0218ab is 0.34.

The process color (four color CMYK) of #0218ab color hex is 0.99, 0.86, 0.00, 0.33. Web safe color of #0218ab is #000099. Color #0218ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000010 00011000 10101011
Octal 2 30 253
Decimal 2 24 171
Hex 2 18 AB

RGB Percentages of Color #0218ab

%1.02
%12.18
%86.80

CMYK Percentages of Color #0218ab

%99
%86
%0
%33

Triadic Colors of #0218ab

#0218ab #ab0218 #18ab02

Analogous Colors of #0218ab

#0218ab #4002ab #026dab

Monochromatic Colors of #0218ab

#0218ab

Complementary Color

#0218ab #ab9502

#0218ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#0218ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#0218ab Color CSS Codes

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

#0218ab Text Font Color

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

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


#0218ab Background Color

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

This div background color is #0218ab


#0218ab Border Color

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

This div border color is #0218ab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #0218ab


Comments

No comments written yet.

Please login to write comment.