COLOR #312751

HEX: #312751
RGB: (49,39,81)

Color info

#312751 contains red, green and blue colors in about the same proportion. Web safe color of #312751 is #333366 (or #336).

RGB color model

#312751 color RGB value is (49,39,81).

  • red value is 49;
  • green value is 39;
  • blue value is 81.
RGB:
(49,39,81)
(19%,15%,32%)

RGB channels and saturation

R 49 of 255 = 19%
G 39 of 255 = 15%
B 81 of 255 = 32%

49
39
81

R + G + B ~ 22%. #312751 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 39 + 81 = 169 (100%)
R 49 of 169 ~ 28.99%
G 39 of 169 ~ 23.08%
B 81 of 169 ~ 47.93%

%28.99
%23.08
%47.93

CMYK color model

#312751 color CMYK value is (40,52,0,68).

  • cyan value is 39.51%
  • magenta value is 51.85%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(40,52,0,68)
C40M52Y0K68 
(40%,52%,0%,68%)
(0.40/0.52/0.00/0.68)	

CMYK percentages

%39.51
%51.85
%0
%68.24

Codes

Color #312751 in popluar color models

312751
RGB493981
HSL254°35.00%23.53%
HSB/HSV254°51.85%31.76%
CMYK39.51%51.85%0.00%
68.24%

Color #312751 in popluar number systems.

HEX312751
Decimal493981
Binary1100011001111010001
Octal6147121

Shades and tints

Shades of #312751

#312751
(49,39,81)
#2D244A
(45,36,74)
#292143
(41,33,67)
#251E3C
(37,30,60)
#211B35
(33,27,53)
#1D182E
(29,24,46)
#191527
(25,21,39)
#151220
(21,18,32)
#110F19
(17,15,25)
#0D0C12
(13,12,18)
#09090B
(9,9,11)
#000000
(0,0,0)

Tints of #312751

#312751
(49,39,81)
#433A60
(67,58,96)
#554D6F
(85,77,111)
#67607E
(103,96,126)
#79738D
(121,115,141)
#8B869C
(139,134,156)
#9D99AB
(157,153,171)
#AFACBA
(175,172,186)
#C1BFC9
(193,191,201)
#D3D2D8
(211,210,216)
#E5E5E7
(229,229,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312751 color. Also use rgb(49,39,81) instead hex code.

Text Font Color

.myTextColor { color: #312751; }

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

This text font color is #312751.


Background Color

.myBgColor { background-color: #312751; }

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

This div background color is #312751.


Border color

.myBorderColor { border: 1px solid #312751; }

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

This div border color is #312751.


Opacity

.myOpacity80 { color: #312751; opacity: 0.8; }

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

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

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

This text has shadow with #312751 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312751 on black background.


Color preview on white background

This text has color #312751 on white background.



Black color preview on #312751 background

This text has black color on #312751 background.


White color preview on #312751 background

This text has white color on #312751 background.