Color Hex Logo

#2872ab Color Hex

#2872AB
(40,114,171)
0 Favorites   0 Comments

Color spaces of #2872ab

RGB 40114171
HSL0.570.620.41
HSV206°77°67°
CMYK 0.770.330.00   0.33
XYZ14.243115.426040.7549
Yxy15.42600.20220.2190
Hunter Lab39.2759-4.0013-34.0294
CIE-Lab46.2122-2.5782-36.8727

#2872ab color RGB value is (40,114,171).

#2872ab hex color red value is 40, green value is 114 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #2872ab hue: 0.57 , saturation: 0.62 and the lightness value of 2872ab is 0.41.

The process color (four color CMYK) of #2872ab color hex is 0.77, 0.33, 0.00, 0.33. Web safe color of #2872ab is #336699. Color #2872ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101000 01110010 10101011
Octal 50 162 253
Decimal 40 114 171
Hex 28 72 AB

RGB Percentages of Color #2872ab

%12.31
%35.08
%52.62

CMYK Percentages of Color #2872ab

%77
%33
%0
%33

Triadic Colors of #2872ab

#2872ab #ab2872 #72ab28

Analogous Colors of #2872ab

#2872ab #2830ab #28aba3

Monochromatic Colors of #2872ab

#2872ab

Complementary Color

#2872ab #ab6128

#2872ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2872ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#2872ab Color CSS Codes

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

#2872ab Text Font Color

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

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


#2872ab Background Color

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

This div background color is #2872ab


#2872ab Border Color

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

This div border color is #2872ab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2872ab


Comments

No comments written yet.

Please login to write comment.