COLOR #28212E

HEX: #28212E
RGB: (40,33,46)

Color info

#28212E contains red, green and blue colors in about the same proportion. Web safe color of #28212E is #333333 (or #333).

RGB color model

#28212E color RGB value is (40,33,46).

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

RGB channels and saturation

R 40 of 255 = 16%
G 33 of 255 = 13%
B 46 of 255 = 18%

40
33
46

R + G + B ~ 16%. #28212E is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 33 + 46 = 119 (100%)
R 40 of 119 ~ 33.61%
G 33 of 119 ~ 27.73%
B 46 of 119 ~ 38.66%

%33.61
%27.73
%38.66

CMYK color model

#28212E color CMYK value is (13,28,0,82).

  • cyan value is 13.04%
  • magenta value is 28.26%
  • yellow value is 0.00%
  • key color value is 81.96%
CMYK:
(13,28,0,82)
C13M28Y0K82 
(13%,28%,0%,82%)
(0.13/0.28/0.00/0.82)	

CMYK percentages

%13.04
%28.26
%0
%81.96

Codes

Color #28212E in popluar color models

28212E
RGB403346
HSL272°16.46%15.49%
HSB/HSV272°28.26%18.04%
CMYK13.04%28.26%0.00%
81.96%

Color #28212E in popluar number systems.

HEX28212E
Decimal403346
Binary101000100001101110
Octal504156

Shades and tints

Shades of #28212E

#28212E
(40,33,46)
#251E2A
(37,30,42)
#221B26
(34,27,38)
#1F1822
(31,24,34)
#1C151E
(28,21,30)
#19121A
(25,18,26)
#160F16
(22,15,22)
#130C12
(19,12,18)
#10090E
(16,9,14)
#0D060A
(13,6,10)
#0A0306
(10,3,6)
#000000
(0,0,0)

Tints of #28212E

#28212E
(40,33,46)
#3B3541
(59,53,65)
#4E4954
(78,73,84)
#615D67
(97,93,103)
#74717A
(116,113,122)
#87858D
(135,133,141)
#9A99A0
(154,153,160)
#ADADB3
(173,173,179)
#C0C1C6
(192,193,198)
#D3D5D9
(211,213,217)
#E6E9EC
(230,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #28212E; }

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

This text font color is #28212E.


Background Color

.myBgColor { background-color: #28212E; }

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

This div background color is #28212E.


Border color

.myBorderColor { border: 1px solid #28212E; }

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

This div border color is #28212E.


Opacity

.myOpacity80 { color: #28212E; opacity: 0.8; }

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

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

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

This text has shadow with #28212E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #28212E on black background.


Color preview on white background

This text has color #28212E on white background.



Black color preview on #28212E background

This text has black color on #28212E background.


White color preview on #28212E background

This text has white color on #28212E background.