COLOR #312246

HEX: #312246
RGB: (49,34,70)

Color info

#312246 contains red, green and blue colors in about the same proportion. Web safe color of #312246 is #333333 (or #333).

RGB color model

#312246 color RGB value is (49,34,70).

  • red value is 49;
  • green value is 34;
  • blue value is 70.
RGB:
(49,34,70)
(19%,13%,27%)

RGB channels and saturation

R 49 of 255 = 19%
G 34 of 255 = 13%
B 70 of 255 = 27%

49
34
70

R + G + B ~ 20%. #312246 is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 34 + 70 = 153 (100%)
R 49 of 153 ~ 32.03%
G 34 of 153 ~ 22.22%
B 70 of 153 ~ 45.75%

%32.03
%22.22
%45.75

CMYK color model

#312246 color CMYK value is (30,51,0,73).

  • cyan value is 30.00%
  • magenta value is 51.43%
  • yellow value is 0.00%
  • key color value is 72.55%
CMYK:
(30,51,0,73)
C30M51Y0K73 
(30%,51%,0%,73%)
(0.30/0.51/0.00/0.73)	

CMYK percentages

%30
%51.43
%0
%72.55

Codes

Color #312246 in popluar color models

312246
RGB493470
HSL265°34.62%20.39%
HSB/HSV265°51.43%27.45%
CMYK30.00%51.43%0.00%
72.55%

Color #312246 in popluar number systems.

HEX312246
Decimal493470
Binary1100011000101000110
Octal6142106

Shades and tints

Shades of #312246

#312246
(49,34,70)
#2D1F40
(45,31,64)
#291C3A
(41,28,58)
#251934
(37,25,52)
#21162E
(33,22,46)
#1D1328
(29,19,40)
#191022
(25,16,34)
#150D1C
(21,13,28)
#110A16
(17,10,22)
#0D0710
(13,7,16)
#09040A
(9,4,10)
#000000
(0,0,0)

Tints of #312246

#312246
(49,34,70)
#433656
(67,54,86)
#554A66
(85,74,102)
#675E76
(103,94,118)
#797286
(121,114,134)
#8B8696
(139,134,150)
#9D9AA6
(157,154,166)
#AFAEB6
(175,174,182)
#C1C2C6
(193,194,198)
#D3D6D6
(211,214,214)
#E5EAE6
(229,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312246 color. Also use rgb(49,34,70) instead hex code.

Text Font Color

.myTextColor { color: #312246; }

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

This text font color is #312246.


Background Color

.myBgColor { background-color: #312246; }

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

This div background color is #312246.


Border color

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

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

This div border color is #312246.


Opacity

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

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

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

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

This text has shadow with #312246 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #312246 on black background.


Color preview on white background

This text has color #312246 on white background.



Black color preview on #312246 background

This text has black color on #312246 background.


White color preview on #312246 background

This text has white color on #312246 background.