#2842ab Color Hex

#2842AB
(40,66,171)
0 Favorites   0 Comments

Color spaces of #2842ab

RGB 4066171
HSL0.630.620.41
HSV228°77°67°
CMYK 0.770.610.00   0.33
XYZ10.17407.287839.3985
Yxy7.28780.17890.1282
Hunter Lab26.995920.0287-67.6321
CIE-Lab32.453328.5534-58.9779


#2842ab color RGB value is (40,66,171).

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

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

Base Numbers

BaseRedGreenBlue
Binary 00101000 01000010 10101011
Octal 50 102 253
Decimal 40 66 171
Hex 28 42 AB

RGB Percentages of Color #2842ab

%14.44
%23.83
%61.73

CMYK Percentages of Color #2842ab

%77
%61
%0
%33

Triadic Colors of #2842ab

#2842ab #ab2842 #42ab28

Analogous Colors of #2842ab

#2842ab #4f28ab #2884ab

Monochromatic Colors of #2842ab

#2842ab

Complementary Color

#2842ab #ab9128

#2842ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2842ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#2842ab Color CSS Codes

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

#2842ab Text Font Color

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

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


#2842ab Background Color

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

This div background color is #2842ab


#2842ab Border Color

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

This div border color is #2842ab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2842ab


Comments

No comments written yet.

Please login to write comment.

This website uses cookies to collect information about how you interact with our website. We use this information in order to improve and customize your browsing experience and for analytics and metrics about our visitors. To find out more about the cookies we use, see our Privacy Policy.