Color Hex Logo

#312898 Color Hex

#312898
(49,40,152)
0 Favorites   0 Comments

Color spaces of #312898

RGB 4940152
HSL0.680.580.38
HSV245°74°60°
CMYK 0.680.740.00   0.40
XYZ7.69294.437530.1568
Yxy4.43750.18190.1049
Hunter Lab21.065428.3223-70.1327
CIE-Lab25.068139.2646-59.5612

#312898 color RGB value is (49,40,152).

#312898 hex color red value is 49, green value is 40 and the blue value of its RGB is 152. Cylindrical-coordinate representations (also known as HSL) of color #312898 hue: 0.68 , saturation: 0.58 and the lightness value of 312898 is 0.38.

The process color (four color CMYK) of #312898 color hex is 0.68, 0.74, 0.00, 0.40. Web safe color of #312898 is #333399. Color #312898 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00110001 00101000 10011000
Octal 61 50 230
Decimal 49 40 152
Hex 31 28 98

RGB Percentages of Color #312898

%20.33
%16.60
%63.07

CMYK Percentages of Color #312898

%68
%74
%0
%40

Triadic Colors of #312898

#312898 #983128 #289831

Analogous Colors of #312898

#312898 #692898 #285798

Monochromatic Colors of #312898

#312898

Complementary Color

#312898 #8f9828

#312898 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#312898 Color Preview on White Background

Lorem ipsum dolor sit amet.

#312898 Color CSS Codes

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

#312898 Text Font Color

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

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


#312898 Background Color

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

This div background color is #312898


#312898 Border Color

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

This div border color is #312898


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #312898


Comments

No comments written yet.

Please login to write comment.