COLOR #271828

HEX: #271828
RGB: (39,24,40)

Color info

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

RGB color model

#271828 color RGB value is (39,24,40).

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

RGB channels and saturation

R 39 of 255 = 15%
G 24 of 255 = 9%
B 40 of 255 = 16%

39
24
40

R + G + B ~ 13%. #271828 is dark color.

Portions of RGB colors in percentages

R + G + B =
39 + 24 + 40 = 103 (100%)
R 39 of 103 ~ 37.86%
G 24 of 103 ~ 23.3%
B 40 of 103 ~ 38.83%

%37.86
%23.3
%38.83

CMYK color model

#271828 color CMYK value is (2,40,0,84).

  • cyan value is 2.50%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(2,40,0,84)
C2M40Y0K84 
(2%,40%,0%,84%)
(0.02/0.40/0.00/0.84)	

CMYK percentages

%2.5
%40
%0
%84.31

Codes

Color #271828 in popluar color models

271828
RGB392440
HSL296°25.00%12.55%
HSB/HSV296°40.00%15.69%
CMYK2.50%40.00%0.00%
84.31%

Color #271828 in popluar number systems.

HEX271828
Decimal392440
Binary10011111000101000
Octal473050

Shades and tints

Shades of #271828

#271828
(39,24,40)
#241625
(36,22,37)
#211422
(33,20,34)
#1E121F
(30,18,31)
#1B101C
(27,16,28)
#180E19
(24,14,25)
#150C16
(21,12,22)
#120A13
(18,10,19)
#0F0810
(15,8,16)
#0C060D
(12,6,13)
#09040A
(9,4,10)
#000000
(0,0,0)

Tints of #271828

#271828
(39,24,40)
#3A2D3B
(58,45,59)
#4D424E
(77,66,78)
#605761
(96,87,97)
#736C74
(115,108,116)
#868187
(134,129,135)
#99969A
(153,150,154)
#ACABAD
(172,171,173)
#BFC0C0
(191,192,192)
#D2D5D3
(210,213,211)
#E5EAE6
(229,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #271828; }

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

This text font color is #271828.


Background Color

.myBgColor { background-color: #271828; }

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

This div background color is #271828.


Border color

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

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

This div border color is #271828.


Opacity

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

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

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

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

This text has shadow with #271828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #271828 on black background.


Color preview on white background

This text has color #271828 on white background.



Black color preview on #271828 background

This text has black color on #271828 background.


White color preview on #271828 background

This text has white color on #271828 background.