COLOR #331D76

HEX: #331D76 RGB: (51,29,118)

Color info

#331D76 contains mainly blue color. Web safe color of #331D76 is #333366 (or #336).

RGB color model

#331D76 color RGB value is (51,29,118).

RGB: (51,29,118) (20%, 11%, 46%)

RGB channels and saturation

R 51 of 255 = 20%
G 29 of 255 = 11%
B 118 of 255 = 46%

51
29
118

R + G + B ~ 26%. #331D76 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 29 + 118 = 198 (100%)
R 51 of 198 ~ 25.76%
G 29 of 198 ~ 14.65%
B 118 of 198 ~ 59.6'%

%25.76
%14.65
%59.6

CMYK color model

#331D76 color CMYK value is (57,75,0,54).

  • cyan value is 56.78%
  • magenta value is 75.42%
  • yellow value is 0.00%
  • key color value is 53.73%

CMYK: (57,75,0,54)
C57M75Y0K54 (57%, 75%, 0%, 54%)
(0.57 / 0.75 / 0.00 / 0.54)

CMYK percentages

%56.78
%75.42
%0
%53.73

Codes

Color #331D76 in popluar color models

33 1D 76
RGB 51 29 118
HSL 255° 60.54% 28.82%
HSB/HSV 255° 75.42% 46.27%
CMYK 56.78% 75.42% 0.00%
53.73%

Color #331D76 in popluar number systems.

HEX 33 1D 76
Decimal 51 29 118
Binary 110011 11101 1110110
Octal 63 35 166

Shades and tints

Shades of #331D76

#331D76
(51,29,118)
#2F1B6C
(47,27,108)
#2B1962
(43,25,98)
#271758
(39,23,88)
#23154E
(35,21,78)
#1F1344
(31,19,68)
#1B113A
(27,17,58)
#170F30
(23,15,48)
#130D26
(19,13,38)
#0F0B1C
(15,11,28)
#0B0912
(11,9,18)
#000000
(0,0,0)

Tints of #331D76

#331D76
(51,29,118)
#453182
(69,49,130)
#57458E
(87,69,142)
#69599A
(105,89,154)
#7B6DA6
(123,109,166)
#8D81B2
(141,129,178)
#9F95BE
(159,149,190)
#B1A9CA
(177,169,202)
#C3BDD6
(195,189,214)
#D5D1E2
(213,209,226)
#E7E5EE
(231,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331D76 color. Also use rgb(51,29,118) instead hex code.

Text Font Color

.myTextColor { color: #331D76; }

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

This text font color is #331D76.

Background Color

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

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

This div background color is #331D76.

Border color

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

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

This div border color is #331D76.

Opacity

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

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

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

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

This text has shadow with #331D76 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331D76.

Preview

Color preview on black background

This text has color #331D76 on black background.


Color preview on white background

This text has color #331D76 on white background.


Black color preview on #331D76 background

This text has black color on #331D76 background.


White color preview on #331D76 background

This text has white color on #331D76 background.


Related colors

Complementary color

Complementary color for #hex is #CCE289.


I love getcolorcode.com

Triadic colors

1 #76331D and #1D7633 with #331D76 are triadic colors.

2 #761D33 and #1D3376 with #331D76 are triadic colors.