Color Hex Logo

#28217b Color Hex

#28217B
(40,33,123)
0 Favorites   0 Comments

Color spaces of #28217b

RGB 4033123
HSL0.680.580.31
HSV245°73°48°
CMYK 0.670.730.00   0.52
XYZ4.99412.968919.0487
Yxy2.96890.18490.1099
Hunter Lab17.230521.5832-53.4851
CIE-Lab19.918932.4506-49.9283

#28217b color RGB value is (40,33,123).

#28217b hex color red value is 40, green value is 33 and the blue value of its RGB is 123. Cylindrical-coordinate representations (also known as HSL) of color #28217b hue: 0.68 , saturation: 0.58 and the lightness value of 28217b is 0.31.

The process color (four color CMYK) of #28217b color hex is 0.67, 0.73, 0.00, 0.52. Web safe color of #28217b is #333366. Color #28217b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101000 00100001 01111011
Octal 50 41 173
Decimal 40 33 123
Hex 28 21 7B

RGB Percentages of Color #28217b

%20.41
%16.84
%62.76

CMYK Percentages of Color #28217b

%67
%73
%0
%52

Triadic Colors of #28217b

#28217b #7b2821 #217b28

Analogous Colors of #28217b

#28217b #55217b #21477b

Monochromatic Colors of #28217b

#28217b

Complementary Color

#28217b #747b21

#28217b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#28217b Color Preview on White Background

Lorem ipsum dolor sit amet.

#28217b Color CSS Codes

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

#28217b Text Font Color

<p style="color:#28217b">Text here</p>

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


#28217b Background Color

<div style="background-color:#28217b">
Div content here</div>

This div background color is #28217b


#28217b Border Color

<div style="border:3px solid #28217b">
Div here</div>

This div border color is #28217b


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(40,33,123, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #28217b; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #28217b;
  -webkit-box-shadow: 1px 1px 3px 2px #28217b;
  box-shadow:         1px 1px 3px 2px #28217b; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #28217b


Comments

No comments written yet.

Please login to write comment.