Color Hex Logo

#28318c Color Hex

#28318C
(40,49,140)
0 Favorites   0 Comments

Color spaces of #28318c

RGB 4049140
HSL0.650.560.35
HSV235°71°55°
CMYK 0.710.650.00   0.45
XYZ6.70704.541225.3340
Yxy4.54120.18330.1241
Hunter Lab21.310118.8873-55.5685
CIE-Lab25.385528.2315-51.6569

#28318c color RGB value is (40,49,140).

#28318c hex color red value is 40, green value is 49 and the blue value of its RGB is 140. Cylindrical-coordinate representations (also known as HSL) of color #28318c hue: 0.65 , saturation: 0.56 and the lightness value of 28318c is 0.35.

The process color (four color CMYK) of #28318c color hex is 0.71, 0.65, 0.00, 0.45. Web safe color of #28318c is #333399. Color #28318c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101000 00110001 10001100
Octal 50 61 214
Decimal 40 49 140
Hex 28 31 8C

RGB Percentages of Color #28318c

%17.47
%21.40
%61.14

CMYK Percentages of Color #28318c

%71
%65
%0
%45

Triadic Colors of #28318c

#28318c #8c2831 #318c28

Analogous Colors of #28318c

#28318c #51288c #28638c

Monochromatic Colors of #28318c

#28318c

Complementary Color

#28318c #8c8328

#28318c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#28318c Color Preview on White Background

Lorem ipsum dolor sit amet.

#28318c Color CSS Codes

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

#28318c Text Font Color

<p style="color:#28318c">Text here</p>

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


#28318c Background Color

<div style="background-color:#28318c">
Div content here</div>

This div background color is #28318c


#28318c Border Color

<div style="border:3px solid #28318c">
Div here</div>

This div border color is #28318c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(40,49,140, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #28318c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #28318c;
  -webkit-box-shadow: 1px 1px 3px 2px #28318c;
  box-shadow:         1px 1px 3px 2px #28318c; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #28318c


Comments

No comments written yet.

Please login to write comment.