COLOR #331D41

HEX: #331D41
RGB: (51,29,65)

Color info

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

RGB color model

#331D41 color RGB value is (51,29,65).

  • red value is 51;
  • green value is 29;
  • blue value is 65.
RGB:
(51,29,65)
(20%,11%,25%)

RGB channels and saturation

R 51 of 255 = 20%
G 29 of 255 = 11%
B 65 of 255 = 25%

51
29
65

R + G + B ~ 19%. #331D41 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 29 + 65 = 145 (100%)
R 51 of 145 ~ 35.17%
G 29 of 145 ~ 20%
B 65 of 145 ~ 44.83%

%35.17
%20
%44.83

CMYK color model

#331D41 color CMYK value is (22,55,0,75).

  • cyan value is 21.54%
  • magenta value is 55.38%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(22,55,0,75)
C22M55Y0K75 
(22%,55%,0%,75%)
(0.22/0.55/0.00/0.75)	

CMYK percentages

%21.54
%55.38
%0
%74.51

Codes

Color #331D41 in popluar color models

331D41
RGB512965
HSL277°38.30%18.43%
HSB/HSV277°55.38%25.49%
CMYK21.54%55.38%0.00%
74.51%

Color #331D41 in popluar number systems.

HEX331D41
Decimal512965
Binary110011111011000001
Octal6335101

Shades and tints

Shades of #331D41

#331D41
(51,29,65)
#2F1B3C
(47,27,60)
#2B1937
(43,25,55)
#271732
(39,23,50)
#23152D
(35,21,45)
#1F1328
(31,19,40)
#1B1123
(27,17,35)
#170F1E
(23,15,30)
#130D19
(19,13,25)
#0F0B14
(15,11,20)
#0B090F
(11,9,15)
#000000
(0,0,0)

Tints of #331D41

#331D41
(51,29,65)
#453152
(69,49,82)
#574563
(87,69,99)
#695974
(105,89,116)
#7B6D85
(123,109,133)
#8D8196
(141,129,150)
#9F95A7
(159,149,167)
#B1A9B8
(177,169,184)
#C3BDC9
(195,189,201)
#D5D1DA
(213,209,218)
#E7E5EB
(231,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331D41; }

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

This text font color is #331D41.


Background Color

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

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

This div background color is #331D41.


Border color

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

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

This div border color is #331D41.


Opacity

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

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

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

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

This text has shadow with #331D41 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331D41 on black background.


Color preview on white background

This text has color #331D41 on white background.



Black color preview on #331D41 background

This text has black color on #331D41 background.


White color preview on #331D41 background

This text has white color on #331D41 background.