COLOR #331F65

HEX: #331F65
RGB: (51,31,101)

Color info

#331F65 contains mainly red and blue colors. Web safe color of #331F65 is #333366 (or #336).

RGB color model

#331F65 color RGB value is (51,31,101).

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

RGB channels and saturation

R 51 of 255 = 20%
G 31 of 255 = 12%
B 101 of 255 = 40%

51
31
101

R + G + B ~ 24%. #331F65 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 31 + 101 = 183 (100%)
R 51 of 183 ~ 27.87%
G 31 of 183 ~ 16.94%
B 101 of 183 ~ 55.19%

%27.87
%16.94
%55.19

CMYK color model

#331F65 color CMYK value is (50,69,0,60).

  • cyan value is 49.50%
  • magenta value is 69.31%
  • yellow value is 0.00%
  • key color value is 60.39%
CMYK:
(50,69,0,60)
C50M69Y0K60 
(50%,69%,0%,60%)
(0.50/0.69/0.00/0.60)	

CMYK percentages

%49.5
%69.31
%0
%60.39

Codes

Color #331F65 in popluar color models

331F65
RGB5131101
HSL257°53.03%25.88%
HSB/HSV257°69.31%39.61%
CMYK49.50%69.31%0.00%
60.39%

Color #331F65 in popluar number systems.

HEX331F65
Decimal5131101
Binary110011111111100101
Octal6337145

Shades and tints

Shades of #331F65

#331F65
(51,31,101)
#2F1D5C
(47,29,92)
#2B1B53
(43,27,83)
#27194A
(39,25,74)
#231741
(35,23,65)
#1F1538
(31,21,56)
#1B132F
(27,19,47)
#171126
(23,17,38)
#130F1D
(19,15,29)
#0F0D14
(15,13,20)
#0B0B0B
(11,11,11)
#000000
(0,0,0)

Tints of #331F65

#331F65
(51,31,101)
#453373
(69,51,115)
#574781
(87,71,129)
#695B8F
(105,91,143)
#7B6F9D
(123,111,157)
#8D83AB
(141,131,171)
#9F97B9
(159,151,185)
#B1ABC7
(177,171,199)
#C3BFD5
(195,191,213)
#D5D3E3
(213,211,227)
#E7E7F1
(231,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331F65; }

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

This text font color is #331F65.


Background Color

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

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

This div background color is #331F65.


Border color

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

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

This div border color is #331F65.


Opacity

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

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

Text with #331F65 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 #331F65;}

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

This text has shadow with #331F65 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331F65 on black background.


Color preview on white background

This text has color #331F65 on white background.



Black color preview on #331F65 background

This text has black color on #331F65 background.


White color preview on #331F65 background

This text has white color on #331F65 background.