Color Hex Logo

#28157e Color Hex

#28157E
(40,21,126)
0 Favorites   0 Comments

Color spaces of #28157e

RGB 4021126
HSL0.700.710.29
HSV251°83°49°
CMYK 0.680.830.00   0.51
XYZ4.90912.493819.9613
Yxy2.49380.17940.0911
Hunter Lab15.791827.8537-63.8902
CIE-Lab17.890540.1250-55.1841

#28157e color RGB value is (40,21,126).

#28157e hex color red value is 40, green value is 21 and the blue value of its RGB is 126. Cylindrical-coordinate representations (also known as HSL) of color #28157e hue: 0.70 , saturation: 0.71 and the lightness value of 28157e is 0.29.

The process color (four color CMYK) of #28157e color hex is 0.68, 0.83, 0.00, 0.51. Web safe color of #28157e is #330066. Color #28157e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101000 00010101 01111110
Octal 50 25 176
Decimal 40 21 126
Hex 28 15 7E

RGB Percentages of Color #28157e

%21.39
%11.23
%67.38

CMYK Percentages of Color #28157e

%68
%83
%0
%51

Triadic Colors of #28157e

#28157e #7e2815 #157e28

Analogous Colors of #28157e

#28157e #5c157e #15377e

Monochromatic Colors of #28157e

#28157e

Complementary Color

#28157e #6b7e15

#28157e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#28157e Color Preview on White Background

Lorem ipsum dolor sit amet.

#28157e Color CSS Codes

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

#28157e Text Font Color

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

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


#28157e Background Color

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

This div background color is #28157e


#28157e Border Color

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

This div border color is #28157e


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #28157e


Comments

No comments written yet.

Please login to write comment.