COLOR #271B18

HEX: #271B18
RGB: (39,27,24)

Color info

#271B18 contains red, green and blue colors in about the same proportion. Web safe color of #271B18 is #333300 (or #330).

RGB color model

#271B18 color RGB value is (39,27,24).

  • red value is 39;
  • green value is 27;
  • blue value is 24.
RGB:
(39,27,24)
(15%,11%,9%)

RGB channels and saturation

R 39 of 255 = 15%
G 27 of 255 = 11%
B 24 of 255 = 9%

39
27
24

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

Portions of RGB colors in percentages

R + G + B =
39 + 27 + 24 = 90 (100%)
R 39 of 90 ~ 43.33%
G 27 of 90 ~ 30%
B 24 of 90 ~ 26.67%

%43.33
%30
%26.67

CMYK color model

#271B18 color CMYK value is (0,31,38,85).

  • cyan value is 0.00%
  • magenta value is 30.77%
  • yellow value is 38.46%
  • key color value is 84.71%
CMYK:
(0,31,38,85)
C0M31Y38K85 
(0%,31%,38%,85%)
(0.00/0.31/0.38/0.85)	

CMYK percentages

%0
%30.77
%38.46
%84.71

Codes

Color #271B18 in popluar color models

271B18
RGB392724
HSL12°23.81%12.35%
HSB/HSV12°38.46%15.29%
CMYK0.00%30.77%38.46%
84.71%

Color #271B18 in popluar number systems.

HEX271B18
Decimal392724
Binary1001111101111000
Octal473330

Shades and tints

Shades of #271B18

#271B18
(39,27,24)
#241916
(36,25,22)
#211714
(33,23,20)
#1E1512
(30,21,18)
#1B1310
(27,19,16)
#18110E
(24,17,14)
#150F0C
(21,15,12)
#120D0A
(18,13,10)
#0F0B08
(15,11,8)
#0C0906
(12,9,6)
#090704
(9,7,4)
#000000
(0,0,0)

Tints of #271B18

#271B18
(39,27,24)
#3A2F2D
(58,47,45)
#4D4342
(77,67,66)
#605757
(96,87,87)
#736B6C
(115,107,108)
#867F81
(134,127,129)
#999396
(153,147,150)
#ACA7AB
(172,167,171)
#BFBBC0
(191,187,192)
#D2CFD5
(210,207,213)
#E5E3EA
(229,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #271B18 color. Also use rgb(39,27,24) instead hex code.

Text Font Color

.myTextColor { color: #271B18; }

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

This text font color is #271B18.


Background Color

.myBgColor { background-color: #271B18; }

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

This div background color is #271B18.


Border color

.myBorderColor { border: 1px solid #271B18; }

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

This div border color is #271B18.


Opacity

.myOpacity80 { color: #271B18; opacity: 0.8; }

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

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

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

This text has shadow with #271B18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #271B18 on black background.


Color preview on white background

This text has color #271B18 on white background.



Black color preview on #271B18 background

This text has black color on #271B18 background.


White color preview on #271B18 background

This text has white color on #271B18 background.