COLOR #331A21

HEX: #331A21
RGB: (51,26,33)

Color info

#331A21 contains red, green and blue colors in about the same proportion. Web safe color of #331A21 is #330033 (or #303).

RGB color model

#331A21 color RGB value is (51,26,33).

  • red value is 51;
  • green value is 26;
  • blue value is 33.
RGB:
(51,26,33)
(20%,10%,13%)

RGB channels and saturation

R 51 of 255 = 20%
G 26 of 255 = 10%
B 33 of 255 = 13%

51
26
33

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

Portions of RGB colors in percentages

R + G + B =
51 + 26 + 33 = 110 (100%)
R 51 of 110 ~ 46.36%
G 26 of 110 ~ 23.64%
B 33 of 110 ~ 30%

%46.36
%23.64
%30

CMYK color model

#331A21 color CMYK value is (0,49,35,80).

  • cyan value is 0.00%
  • magenta value is 49.02%
  • yellow value is 35.29%
  • key color value is 80.00%
CMYK:
(0,49,35,80)
C0M49Y35K80 
(0%,49%,35%,80%)
(0.00/0.49/0.35/0.80)	

CMYK percentages

%0
%49.02
%35.29
%80

Codes

Color #331A21 in popluar color models

331A21
RGB512633
HSL343°32.47%15.10%
HSB/HSV343°49.02%20.00%
CMYK0.00%49.02%35.29%
80.00%

Color #331A21 in popluar number systems.

HEX331A21
Decimal512633
Binary11001111010100001
Octal633241

Shades and tints

Shades of #331A21

#331A21
(51,26,33)
#2F181E
(47,24,30)
#2B161B
(43,22,27)
#271418
(39,20,24)
#231215
(35,18,21)
#1F1012
(31,16,18)
#1B0E0F
(27,14,15)
#170C0C
(23,12,12)
#130A09
(19,10,9)
#0F0806
(15,8,6)
#0B0603
(11,6,3)
#000000
(0,0,0)

Tints of #331A21

#331A21
(51,26,33)
#452E35
(69,46,53)
#574249
(87,66,73)
#69565D
(105,86,93)
#7B6A71
(123,106,113)
#8D7E85
(141,126,133)
#9F9299
(159,146,153)
#B1A6AD
(177,166,173)
#C3BAC1
(195,186,193)
#D5CED5
(213,206,213)
#E7E2E9
(231,226,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331A21 color. Also use rgb(51,26,33) instead hex code.

Text Font Color

.myTextColor { color: #331A21; }

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

This text font color is #331A21.


Background Color

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

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

This div background color is #331A21.


Border color

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

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

This div border color is #331A21.


Opacity

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

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

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

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

This text has shadow with #331A21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331A21 on black background.


Color preview on white background

This text has color #331A21 on white background.



Black color preview on #331A21 background

This text has black color on #331A21 background.


White color preview on #331A21 background

This text has white color on #331A21 background.