COLOR #271221

HEX: #271221
RGB: (39,18,33)

Color info

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

RGB color model

#271221 color RGB value is (39,18,33).

  • red value is 39;
  • green value is 18;
  • blue value is 33.
RGB:
(39,18,33)
(15%,7%,13%)

RGB channels and saturation

R 39 of 255 = 15%
G 18 of 255 = 7%
B 33 of 255 = 13%

39
18
33

R + G + B ~ 12%. #271221 is dark color.

Portions of RGB colors in percentages

R + G + B =
39 + 18 + 33 = 90 (100%)
R 39 of 90 ~ 43.33%
G 18 of 90 ~ 20%
B 33 of 90 ~ 36.67%

%43.33
%20
%36.67

CMYK color model

#271221 color CMYK value is (0,54,15,85).

  • cyan value is 0.00%
  • magenta value is 53.85%
  • yellow value is 15.38%
  • key color value is 84.71%
CMYK:
(0,54,15,85)
C0M54Y15K85 
(0%,54%,15%,85%)
(0.00/0.54/0.15/0.85)	

CMYK percentages

%0
%53.85
%15.38
%84.71

Codes

Color #271221 in popluar color models

271221
RGB391833
HSL317°36.84%11.18%
HSB/HSV317°53.85%15.29%
CMYK0.00%53.85%15.38%
84.71%

Color #271221 in popluar number systems.

HEX271221
Decimal391833
Binary10011110010100001
Octal472241

Shades and tints

Shades of #271221

#271221
(39,18,33)
#24111E
(36,17,30)
#21101B
(33,16,27)
#1E0F18
(30,15,24)
#1B0E15
(27,14,21)
#180D12
(24,13,18)
#150C0F
(21,12,15)
#120B0C
(18,11,12)
#0F0A09
(15,10,9)
#0C0906
(12,9,6)
#090803
(9,8,3)
#000000
(0,0,0)

Tints of #271221

#271221
(39,18,33)
#3A2735
(58,39,53)
#4D3C49
(77,60,73)
#60515D
(96,81,93)
#736671
(115,102,113)
#867B85
(134,123,133)
#999099
(153,144,153)
#ACA5AD
(172,165,173)
#BFBAC1
(191,186,193)
#D2CFD5
(210,207,213)
#E5E4E9
(229,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #271221 color. Also use rgb(39,18,33) instead hex code.

Text Font Color

.myTextColor { color: #271221; }

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

This text font color is #271221.


Background Color

.myBgColor { background-color: #271221; }

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

This div background color is #271221.


Border color

.myBorderColor { border: 1px solid #271221; }

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

This div border color is #271221.


Opacity

.myOpacity80 { color: #271221; opacity: 0.8; }

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

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

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

This text has shadow with #271221 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #271221 on black background.


Color preview on white background

This text has color #271221 on white background.



Black color preview on #271221 background

This text has black color on #271221 background.


White color preview on #271221 background

This text has white color on #271221 background.