COLOR #331C4F

HEX: #331C4F RGB: (51,28,79)

Color info

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

RGB color model

#331C4F color RGB value is (51,28,79).

RGB: (51,28,79) (20%, 11%, 31%)

RGB channels and saturation

R 51 of 255 = 20%
G 28 of 255 = 11%
B 79 of 255 = 31%

51
28
79

R + G + B ~ 21%. #331C4F is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 28 + 79 = 158 (100%)
R 51 of 158 ~ 32.28%
G 28 of 158 ~ 17.72%
B 79 of 158 ~ 50'%

%32.28
%17.72
%50

CMYK color model

#331C4F color CMYK value is (35,65,0,69).

  • cyan value is 35.44%
  • magenta value is 64.56%
  • yellow value is 0.00%
  • key color value is 69.02%

CMYK: (35,65,0,69)
C35M65Y0K69 (35%, 65%, 0%, 69%)
(0.35 / 0.65 / 0.00 / 0.69)

CMYK percentages

%35.44
%64.56
%0
%69.02

Codes

Color #331C4F in popluar color models

33 1C 4F
RGB 51 28 79
HSL 267° 47.66% 20.98%
HSB/HSV 267° 64.56% 30.98%
CMYK 35.44% 64.56% 0.00%
69.02%

Color #331C4F in popluar number systems.

HEX 33 1C 4F
Decimal 51 28 79
Binary 110011 11100 1001111
Octal 63 34 117

Shades and tints

Shades of #331C4F

#331C4F
(51,28,79)
#2F1A48
(47,26,72)
#2B1841
(43,24,65)
#27163A
(39,22,58)
#231433
(35,20,51)
#1F122C
(31,18,44)
#1B1025
(27,16,37)
#170E1E
(23,14,30)
#130C17
(19,12,23)
#0F0A10
(15,10,16)
#0B0809
(11,8,9)
#000000
(0,0,0)

Tints of #331C4F

#331C4F
(51,28,79)
#45305F
(69,48,95)
#57446F
(87,68,111)
#69587F
(105,88,127)
#7B6C8F
(123,108,143)
#8D809F
(141,128,159)
#9F94AF
(159,148,175)
#B1A8BF
(177,168,191)
#C3BCCF
(195,188,207)
#D5D0DF
(213,208,223)
#E7E4EF
(231,228,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331C4F; }

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

This text font color is #331C4F.

Background Color

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

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

This div background color is #331C4F.

Border color

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

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

This div border color is #331C4F.

Opacity

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

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

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

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

This text has shadow with #331C4F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331C4F.

Preview

Color preview on black background

This text has color #331C4F on black background.


Color preview on white background

This text has color #331C4F on white background.


Black color preview on #331C4F background

This text has black color on #331C4F background.


White color preview on #331C4F background

This text has white color on #331C4F background.


Related colors

Complementary color

Complementary color for #hex is #CCE3B0.


I love getcolorcode.com

Triadic colors

1 #4F331C and #1C4F33 with #331C4F are triadic colors.

2 #4F1C33 and #1C334F with #331C4F are triadic colors.