Color Hex Logo

#42159e Color Hex

#42159E
(66,21,158)
0 Favorites   0 Comments

Color spaces of #42159e

RGB 6621158
HSL0.720.770.35
HSV260°87°62°
CMYK 0.580.870.00   0.38
XYZ8.68654.163232.6935
Yxy4.16320.19070.0914
Hunter Lab20.403940.2854-80.7185
CIE-Lab24.203851.9270-64.6088

#42159e color RGB value is (66,21,158).

#42159e hex color red value is 66, green value is 21 and the blue value of its RGB is 158. Cylindrical-coordinate representations (also known as HSL) of color #42159e hue: 0.72 , saturation: 0.77 and the lightness value of 42159e is 0.35.

The process color (four color CMYK) of #42159e color hex is 0.58, 0.87, 0.00, 0.38. Web safe color of #42159e is #330099. Color #42159e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000010 00010101 10011110
Octal 102 25 236
Decimal 66 21 158
Hex 42 15 9E

RGB Percentages of Color #42159e

%26.94
%8.57
%64.49

CMYK Percentages of Color #42159e

%58
%87
%0
%38

Triadic Colors of #42159e

#42159e #9e4215 #159e42

Analogous Colors of #42159e

#42159e #87159e #152c9e

Monochromatic Colors of #42159e

#42159e

Complementary Color

#42159e #719e15

#42159e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#42159e Color Preview on White Background

Lorem ipsum dolor sit amet.

#42159e Color CSS Codes

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

#42159e Text Font Color

<p style="color:#42159e">Text here</p>

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


#42159e Background Color

<div style="background-color:#42159e">
Div content here</div>

This div background color is #42159e


#42159e Border Color

<div style="border:3px solid #42159e">
Div here</div>

This div border color is #42159e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(66,21,158, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #42159e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #42159e;
  -webkit-box-shadow: 1px 1px 3px 2px #42159e;
  box-shadow:         1px 1px 3px 2px #42159e; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(66,21,158, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #42159e">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #42159e


Comments

No comments written yet.

Please login to write comment.