COLOR #331C4D

HEX: #331C4D
RGB: (51,28,77)

Color info

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

RGB color model

#331C4D color RGB value is (51,28,77).

  • red value is 51;
  • green value is 28;
  • blue value is 77.
RGB:
(51,28,77)
(20%,11%,30%)

RGB channels and saturation

R 51 of 255 = 20%
G 28 of 255 = 11%
B 77 of 255 = 30%

51
28
77

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

Portions of RGB colors in percentages

R + G + B =
51 + 28 + 77 = 156 (100%)
R 51 of 156 ~ 32.69%
G 28 of 156 ~ 17.95%
B 77 of 156 ~ 49.36%

%32.69
%17.95
%49.36

CMYK color model

#331C4D color CMYK value is (34,64,0,70).

  • cyan value is 33.77%
  • magenta value is 63.64%
  • yellow value is 0.00%
  • key color value is 69.80%
CMYK:
(34,64,0,70)
C34M64Y0K70 
(34%,64%,0%,70%)
(0.34/0.64/0.00/0.70)	

CMYK percentages

%33.77
%63.64
%0
%69.8

Codes

Color #331C4D in popluar color models

331C4D
RGB512877
HSL268°46.67%20.59%
HSB/HSV268°63.64%30.20%
CMYK33.77%63.64%0.00%
69.80%

Color #331C4D in popluar number systems.

HEX331C4D
Decimal512877
Binary110011111001001101
Octal6334115

Shades and tints

Shades of #331C4D

#331C4D
(51,28,77)
#2F1A46
(47,26,70)
#2B183F
(43,24,63)
#271638
(39,22,56)
#231431
(35,20,49)
#1F122A
(31,18,42)
#1B1023
(27,16,35)
#170E1C
(23,14,28)
#130C15
(19,12,21)
#0F0A0E
(15,10,14)
#0B0807
(11,8,7)
#000000
(0,0,0)

Tints of #331C4D

#331C4D
(51,28,77)
#45305D
(69,48,93)
#57446D
(87,68,109)
#69587D
(105,88,125)
#7B6C8D
(123,108,141)
#8D809D
(141,128,157)
#9F94AD
(159,148,173)
#B1A8BD
(177,168,189)
#C3BCCD
(195,188,205)
#D5D0DD
(213,208,221)
#E7E4ED
(231,228,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331C4D color. Also use rgb(51,28,77) instead hex code.

Text Font Color

.myTextColor { color: #331C4D; }

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

This text font color is #331C4D.


Background Color

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

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

This div background color is #331C4D.


Border color

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

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

This div border color is #331C4D.


Opacity

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

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

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

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

This text has shadow with #331C4D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331C4D on black background.


Color preview on white background

This text has color #331C4D on white background.



Black color preview on #331C4D background

This text has black color on #331C4D background.


White color preview on #331C4D background

This text has white color on #331C4D background.