COLOR #271831

HEX: #271831
RGB: (39,24,49)

Color info

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

RGB color model

#271831 color RGB value is (39,24,49).

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

RGB channels and saturation

R 39 of 255 = 15%
G 24 of 255 = 9%
B 49 of 255 = 19%

39
24
49

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

Portions of RGB colors in percentages

R + G + B =
39 + 24 + 49 = 112 (100%)
R 39 of 112 ~ 34.82%
G 24 of 112 ~ 21.43%
B 49 of 112 ~ 43.75%

%34.82
%21.43
%43.75

CMYK color model

#271831 color CMYK value is (20,51,0,81).

  • cyan value is 20.41%
  • magenta value is 51.02%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(20,51,0,81)
C20M51Y0K81 
(20%,51%,0%,81%)
(0.20/0.51/0.00/0.81)	

CMYK percentages

%20.41
%51.02
%0
%80.78

Codes

Color #271831 in popluar color models

271831
RGB392449
HSL276°34.25%14.31%
HSB/HSV276°51.02%19.22%
CMYK20.41%51.02%0.00%
80.78%

Color #271831 in popluar number systems.

HEX271831
Decimal392449
Binary10011111000110001
Octal473061

Shades and tints

Shades of #271831

#271831
(39,24,49)
#24162D
(36,22,45)
#211429
(33,20,41)
#1E1225
(30,18,37)
#1B1021
(27,16,33)
#180E1D
(24,14,29)
#150C19
(21,12,25)
#120A15
(18,10,21)
#0F0811
(15,8,17)
#0C060D
(12,6,13)
#090409
(9,4,9)
#000000
(0,0,0)

Tints of #271831

#271831
(39,24,49)
#3A2D43
(58,45,67)
#4D4255
(77,66,85)
#605767
(96,87,103)
#736C79
(115,108,121)
#86818B
(134,129,139)
#99969D
(153,150,157)
#ACABAF
(172,171,175)
#BFC0C1
(191,192,193)
#D2D5D3
(210,213,211)
#E5EAE5
(229,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #271831; }

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

This text font color is #271831.


Background Color

.myBgColor { background-color: #271831; }

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

This div background color is #271831.


Border color

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

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

This div border color is #271831.


Opacity

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

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

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

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

This text has shadow with #271831 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #271831 on black background.


Color preview on white background

This text has color #271831 on white background.



Black color preview on #271831 background

This text has black color on #271831 background.


White color preview on #271831 background

This text has white color on #271831 background.