COLOR #31214C

HEX: #31214C
RGB: (49,33,76)

Color info

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

RGB color model

#31214C color RGB value is (49,33,76).

  • red value is 49;
  • green value is 33;
  • blue value is 76.
RGB:
(49,33,76)
(19%,13%,30%)

RGB channels and saturation

R 49 of 255 = 19%
G 33 of 255 = 13%
B 76 of 255 = 30%

49
33
76

R + G + B ~ 21%. #31214C is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 33 + 76 = 158 (100%)
R 49 of 158 ~ 31.01%
G 33 of 158 ~ 20.89%
B 76 of 158 ~ 48.1%

%31.01
%20.89
%48.1

CMYK color model

#31214C color CMYK value is (36,57,0,70).

  • cyan value is 35.53%
  • magenta value is 56.58%
  • yellow value is 0.00%
  • key color value is 70.20%
CMYK:
(36,57,0,70)
C36M57Y0K70 
(36%,57%,0%,70%)
(0.36/0.57/0.00/0.70)	

CMYK percentages

%35.53
%56.58
%0
%70.2

Codes

Color #31214C in popluar color models

31214C
RGB493376
HSL262°39.45%21.37%
HSB/HSV262°56.58%29.80%
CMYK35.53%56.58%0.00%
70.20%

Color #31214C in popluar number systems.

HEX31214C
Decimal493376
Binary1100011000011001100
Octal6141114

Shades and tints

Shades of #31214C

#31214C
(49,33,76)
#2D1E46
(45,30,70)
#291B40
(41,27,64)
#25183A
(37,24,58)
#211534
(33,21,52)
#1D122E
(29,18,46)
#190F28
(25,15,40)
#150C22
(21,12,34)
#11091C
(17,9,28)
#0D0616
(13,6,22)
#090310
(9,3,16)
#000000
(0,0,0)

Tints of #31214C

#31214C
(49,33,76)
#43355C
(67,53,92)
#55496C
(85,73,108)
#675D7C
(103,93,124)
#79718C
(121,113,140)
#8B859C
(139,133,156)
#9D99AC
(157,153,172)
#AFADBC
(175,173,188)
#C1C1CC
(193,193,204)
#D3D5DC
(211,213,220)
#E5E9EC
(229,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31214C color. Also use rgb(49,33,76) instead hex code.

Text Font Color

.myTextColor { color: #31214C; }

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

This text font color is #31214C.


Background Color

.myBgColor { background-color: #31214C; }

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

This div background color is #31214C.


Border color

.myBorderColor { border: 1px solid #31214C; }

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

This div border color is #31214C.


Opacity

.myOpacity80 { color: #31214C; opacity: 0.8; }

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

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

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

This text has shadow with #31214C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31214C on black background.


Color preview on white background

This text has color #31214C on white background.



Black color preview on #31214C background

This text has black color on #31214C background.


White color preview on #31214C background

This text has white color on #31214C background.