COLOR #331C41

HEX: #331C41
RGB: (51,28,65)

Color info

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

RGB color model

#331C41 color RGB value is (51,28,65).

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

RGB channels and saturation

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

51
28
65

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

Portions of RGB colors in percentages

R + G + B =
51 + 28 + 65 = 144 (100%)
R 51 of 144 ~ 35.42%
G 28 of 144 ~ 19.44%
B 65 of 144 ~ 45.14%

%35.42
%19.44
%45.14

CMYK color model

#331C41 color CMYK value is (22,57,0,75).

  • cyan value is 21.54%
  • magenta value is 56.92%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(22,57,0,75)
C22M57Y0K75 
(22%,57%,0%,75%)
(0.22/0.57/0.00/0.75)	

CMYK percentages

%21.54
%56.92
%0
%74.51

Codes

Color #331C41 in popluar color models

331C41
RGB512865
HSL277°39.78%18.24%
HSB/HSV277°56.92%25.49%
CMYK21.54%56.92%0.00%
74.51%

Color #331C41 in popluar number systems.

HEX331C41
Decimal512865
Binary110011111001000001
Octal6334101

Shades and tints

Shades of #331C41

#331C41
(51,28,65)
#2F1A3C
(47,26,60)
#2B1837
(43,24,55)
#271632
(39,22,50)
#23142D
(35,20,45)
#1F1228
(31,18,40)
#1B1023
(27,16,35)
#170E1E
(23,14,30)
#130C19
(19,12,25)
#0F0A14
(15,10,20)
#0B080F
(11,8,15)
#000000
(0,0,0)

Tints of #331C41

#331C41
(51,28,65)
#453052
(69,48,82)
#574463
(87,68,99)
#695874
(105,88,116)
#7B6C85
(123,108,133)
#8D8096
(141,128,150)
#9F94A7
(159,148,167)
#B1A8B8
(177,168,184)
#C3BCC9
(195,188,201)
#D5D0DA
(213,208,218)
#E7E4EB
(231,228,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331C41; }

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

This text font color is #331C41.


Background Color

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

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

This div background color is #331C41.


Border color

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

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

This div border color is #331C41.


Opacity

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

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

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

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

This text has shadow with #331C41 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331C41 on black background.


Color preview on white background

This text has color #331C41 on white background.



Black color preview on #331C41 background

This text has black color on #331C41 background.


White color preview on #331C41 background

This text has white color on #331C41 background.