Color Hex Logo

#2851ab Color Hex

#2851AB
(40,81,171)
0 Favorites   0 Comments

Color spaces of #2851ab

RGB 4081171
HSL0.610.620.41
HSV221°77°67°
CMYK 0.770.530.00   0.33
XYZ11.16829.276239.7299
Yxy9.27620.18560.1542
Hunter Lab30.456912.1545-56.0219
CIE-Lab36.510718.5585-52.3808

#2851ab color RGB value is (40,81,171).

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

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

Base Numbers

BaseRedGreenBlue
Binary 00101000 01010001 10101011
Octal 50 121 253
Decimal 40 81 171
Hex 28 51 AB

RGB Percentages of Color #2851ab

%13.70
%27.74
%58.56

CMYK Percentages of Color #2851ab

%77
%53
%0
%33

Triadic Colors of #2851ab

#2851ab #ab2851 #51ab28

Analogous Colors of #2851ab

#2851ab #4128ab #2893ab

Monochromatic Colors of #2851ab

#2851ab

Complementary Color

#2851ab #ab8228

#2851ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2851ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#2851ab Color CSS Codes

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

#2851ab Text Font Color

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

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


#2851ab Background Color

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

This div background color is #2851ab


#2851ab Border Color

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

This div border color is #2851ab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2851ab


Comments

No comments written yet.

Please login to write comment.