COLOR #331C1F

HEX: #331C1F
RGB: (51,28,31)

Color info

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

RGB color model

#331C1F color RGB value is (51,28,31).

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

RGB channels and saturation

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

51
28
31

R + G + B ~ 14%. #331C1F is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 28 + 31 = 110 (100%)
R 51 of 110 ~ 46.36%
G 28 of 110 ~ 25.45%
B 31 of 110 ~ 28.18%

%46.36
%25.45
%28.18

CMYK color model

#331C1F color CMYK value is (0,45,39,80).

  • cyan value is 0.00%
  • magenta value is 45.10%
  • yellow value is 39.22%
  • key color value is 80.00%
CMYK:
(0,45,39,80)
C0M45Y39K80 
(0%,45%,39%,80%)
(0.00/0.45/0.39/0.80)	

CMYK percentages

%0
%45.1
%39.22
%80

Codes

Color #331C1F in popluar color models

331C1F
RGB512831
HSL352°29.11%15.49%
HSB/HSV352°45.10%20.00%
CMYK0.00%45.10%39.22%
80.00%

Color #331C1F in popluar number systems.

HEX331C1F
Decimal512831
Binary1100111110011111
Octal633437

Shades and tints

Shades of #331C1F

#331C1F
(51,28,31)
#2F1A1D
(47,26,29)
#2B181B
(43,24,27)
#271619
(39,22,25)
#231417
(35,20,23)
#1F1215
(31,18,21)
#1B1013
(27,16,19)
#170E11
(23,14,17)
#130C0F
(19,12,15)
#0F0A0D
(15,10,13)
#0B080B
(11,8,11)
#000000
(0,0,0)

Tints of #331C1F

#331C1F
(51,28,31)
#453033
(69,48,51)
#574447
(87,68,71)
#69585B
(105,88,91)
#7B6C6F
(123,108,111)
#8D8083
(141,128,131)
#9F9497
(159,148,151)
#B1A8AB
(177,168,171)
#C3BCBF
(195,188,191)
#D5D0D3
(213,208,211)
#E7E4E7
(231,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331C1F; }

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

This text font color is #331C1F.


Background Color

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

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

This div background color is #331C1F.


Border color

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

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

This div border color is #331C1F.


Opacity

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

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

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

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

This text has shadow with #331C1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331C1F on black background.


Color preview on white background

This text has color #331C1F on white background.



Black color preview on #331C1F background

This text has black color on #331C1F background.


White color preview on #331C1F background

This text has white color on #331C1F background.