COLOR #331F71

HEX: #331F71
RGB: (51,31,113)

Color info

#331F71 contains mainly blue color. Web safe color of #331F71 is #333366 (or #336).

RGB color model

#331F71 color RGB value is (51,31,113).

  • red value is 51;
  • green value is 31;
  • blue value is 113.
RGB:
(51,31,113)
(20%,12%,44%)

RGB channels and saturation

R 51 of 255 = 20%
G 31 of 255 = 12%
B 113 of 255 = 44%

51
31
113

R + G + B ~ 25%. #331F71 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 31 + 113 = 195 (100%)
R 51 of 195 ~ 26.15%
G 31 of 195 ~ 15.9%
B 113 of 195 ~ 57.95%

%26.15
%15.9
%57.95

CMYK color model

#331F71 color CMYK value is (55,73,0,56).

  • cyan value is 54.87%
  • magenta value is 72.57%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(55,73,0,56)
C55M73Y0K56 
(55%,73%,0%,56%)
(0.55/0.73/0.00/0.56)	

CMYK percentages

%54.87
%72.57
%0
%55.69

Codes

Color #331F71 in popluar color models

331F71
RGB5131113
HSL255°56.94%28.24%
HSB/HSV255°72.57%44.31%
CMYK54.87%72.57%0.00%
55.69%

Color #331F71 in popluar number systems.

HEX331F71
Decimal5131113
Binary110011111111110001
Octal6337161

Shades and tints

Shades of #331F71

#331F71
(51,31,113)
#2F1D67
(47,29,103)
#2B1B5D
(43,27,93)
#271953
(39,25,83)
#231749
(35,23,73)
#1F153F
(31,21,63)
#1B1335
(27,19,53)
#17112B
(23,17,43)
#130F21
(19,15,33)
#0F0D17
(15,13,23)
#0B0B0D
(11,11,13)
#000000
(0,0,0)

Tints of #331F71

#331F71
(51,31,113)
#45337D
(69,51,125)
#574789
(87,71,137)
#695B95
(105,91,149)
#7B6FA1
(123,111,161)
#8D83AD
(141,131,173)
#9F97B9
(159,151,185)
#B1ABC5
(177,171,197)
#C3BFD1
(195,191,209)
#D5D3DD
(213,211,221)
#E7E7E9
(231,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331F71 color. Also use rgb(51,31,113) instead hex code.

Text Font Color

.myTextColor { color: #331F71; }

<p style="color:#331F71">This sample text font color is #331F71.</p>

This text font color is #331F71.


Background Color

.myBgColor { background-color: #331F71; }

<div style="background-color:#331F71">Inner text</div>

This div background color is #331F71.


Border color

.myBorderColor { border: 1px solid #331F71; }

<div style="border:3px solid #331F71">Div</div>

This div border color is #331F71.


Opacity

.myOpacity80 { color: #331F71; opacity: 0.8; }

<p style="color:#331F71;opacity:0.8;">80%</p>

Text with #331F71 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #331F71;}

<p style="text-shadow: 3px 3px 1px #331F71">Text here.</p>

This text has shadow with #331F71 color.

.textShadow {text-shadow: 3px 3px 1px #331F71, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #331F71, 5px 5px 20px red">Text here.</p>

This text has shadow with #331F71 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#331F71, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#331F71, Direction=45, Strength=4)">Text</p>

This text has shadow with #331F71 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #331F71;
  -webkit-box-shadow:	1px 1px 3px 2px #331F71;
  box-shadow:		1px 1px 3px 2px #331F71;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #331F71;
-webkit-box-shadow: 1px 1px 3px 2px #331F71;
box-shadow:1px 1px 3px 2px #331F71;">
Div content here</div>
This div box has shadow with color #331F71.

Preview

Color preview on black background

This text has color #331F71 on black background.


Color preview on white background

This text has color #331F71 on white background.



Black color preview on #331F71 background

This text has black color on #331F71 background.


White color preview on #331F71 background

This text has white color on #331F71 background.