Color Hex Logo

#42158f Color Hex

#42158F
(66,21,143)
0 Favorites   0 Comments

Color spaces of #42158f

RGB 6621143
HSL0.730.740.32
HSV262°85°56°
CMYK 0.540.850.00   0.44
XYZ7.47293.677826.3026
Yxy3.67780.19950.0982
Hunter Lab19.177635.9950-67.8936
CIE-Lab22.576347.9232-58.0484

#42158f color RGB value is (66,21,143).

#42158f hex color red value is 66, green value is 21 and the blue value of its RGB is 143. Cylindrical-coordinate representations (also known as HSL) of color #42158f hue: 0.73 , saturation: 0.74 and the lightness value of 42158f is 0.32.

The process color (four color CMYK) of #42158f color hex is 0.54, 0.85, 0.00, 0.44. Web safe color of #42158f is #330099. Color #42158f contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000010 00010101 10001111
Octal 102 25 217
Decimal 66 21 143
Hex 42 15 8F

RGB Percentages of Color #42158f

%28.70
%9.13
%62.17

CMYK Percentages of Color #42158f

%54
%85
%0
%44

Triadic Colors of #42158f

#42158f #8f4215 #158f42

Analogous Colors of #42158f

#42158f #7f158f #15258f

Monochromatic Colors of #42158f

#42158f

Complementary Color

#42158f #628f15

#42158f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#42158f Color Preview on White Background

Lorem ipsum dolor sit amet.

#42158f Color CSS Codes

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

#42158f Text Font Color

<p style="color:#42158f">Text here</p>

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


#42158f Background Color

<div style="background-color:#42158f">
Div content here</div>

This div background color is #42158f


#42158f Border Color

<div style="border:3px solid #42158f">
Div here</div>

This div border color is #42158f


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #42158f


Comments

No comments written yet.

Please login to write comment.