COLOR #281821

HEX: #281821
RGB: (40,24,33)

Color info

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

RGB color model

#281821 color RGB value is (40,24,33).

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

RGB channels and saturation

R 40 of 255 = 16%
G 24 of 255 = 9%
B 33 of 255 = 13%

40
24
33

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

Portions of RGB colors in percentages

R + G + B =
40 + 24 + 33 = 97 (100%)
R 40 of 97 ~ 41.24%
G 24 of 97 ~ 24.74%
B 33 of 97 ~ 34.02%

%41.24
%24.74
%34.02

CMYK color model

#281821 color CMYK value is (0,40,18,84).

  • cyan value is 0.00%
  • magenta value is 40.00%
  • yellow value is 17.50%
  • key color value is 84.31%
CMYK:
(0,40,18,84)
C0M40Y18K84 
(0%,40%,18%,84%)
(0.00/0.40/0.18/0.84)	

CMYK percentages

%0
%40
%17.5
%84.31

Codes

Color #281821 in popluar color models

281821
RGB402433
HSL326°25.00%12.55%
HSB/HSV326°40.00%15.69%
CMYK0.00%40.00%17.50%
84.31%

Color #281821 in popluar number systems.

HEX281821
Decimal402433
Binary10100011000100001
Octal503041

Shades and tints

Shades of #281821

#281821
(40,24,33)
#25161E
(37,22,30)
#22141B
(34,20,27)
#1F1218
(31,18,24)
#1C1015
(28,16,21)
#190E12
(25,14,18)
#160C0F
(22,12,15)
#130A0C
(19,10,12)
#100809
(16,8,9)
#0D0606
(13,6,6)
#0A0403
(10,4,3)
#000000
(0,0,0)

Tints of #281821

#281821
(40,24,33)
#3B2D35
(59,45,53)
#4E4249
(78,66,73)
#61575D
(97,87,93)
#746C71
(116,108,113)
#878185
(135,129,133)
#9A9699
(154,150,153)
#ADABAD
(173,171,173)
#C0C0C1
(192,192,193)
#D3D5D5
(211,213,213)
#E6EAE9
(230,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #281821; }

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

This text font color is #281821.


Background Color

.myBgColor { background-color: #281821; }

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

This div background color is #281821.


Border color

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

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

This div border color is #281821.


Opacity

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

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

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

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

This text has shadow with #281821 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #281821 on black background.


Color preview on white background

This text has color #281821 on white background.



Black color preview on #281821 background

This text has black color on #281821 background.


White color preview on #281821 background

This text has white color on #281821 background.