COLOR #28242A

HEX: #28242A
RGB: (40,36,42)

Color info

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

RGB color model

#28242A color RGB value is (40,36,42).

  • red value is 40;
  • green value is 36;
  • blue value is 42.
RGB:
(40,36,42)
(16%,14%,16%)

RGB channels and saturation

R 40 of 255 = 16%
G 36 of 255 = 14%
B 42 of 255 = 16%

40
36
42

R + G + B ~ 15%. #28242A is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 36 + 42 = 118 (100%)
R 40 of 118 ~ 33.9%
G 36 of 118 ~ 30.51%
B 42 of 118 ~ 35.59%

%33.9
%30.51
%35.59

CMYK color model

#28242A color CMYK value is (5,14,0,84).

  • cyan value is 4.76%
  • magenta value is 14.29%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(5,14,0,84)
C5M14Y0K84 
(5%,14%,0%,84%)
(0.05/0.14/0.00/0.84)	

CMYK percentages

%4.76
%14.29
%0
%83.53

Codes

Color #28242A in popluar color models

28242A
RGB403642
HSL280°7.69%15.29%
HSB/HSV280°14.29%16.47%
CMYK4.76%14.29%0.00%
83.53%

Color #28242A in popluar number systems.

HEX28242A
Decimal403642
Binary101000100100101010
Octal504452

Shades and tints

Shades of #28242A

#28242A
(40,36,42)
#252127
(37,33,39)
#221E24
(34,30,36)
#1F1B21
(31,27,33)
#1C181E
(28,24,30)
#19151B
(25,21,27)
#161218
(22,18,24)
#130F15
(19,15,21)
#100C12
(16,12,18)
#0D090F
(13,9,15)
#0A060C
(10,6,12)
#000000
(0,0,0)

Tints of #28242A

#28242A
(40,36,42)
#3B373D
(59,55,61)
#4E4A50
(78,74,80)
#615D63
(97,93,99)
#747076
(116,112,118)
#878389
(135,131,137)
#9A969C
(154,150,156)
#ADA9AF
(173,169,175)
#C0BCC2
(192,188,194)
#D3CFD5
(211,207,213)
#E6E2E8
(230,226,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #28242A color. Also use rgb(40,36,42) instead hex code.

Text Font Color

.myTextColor { color: #28242A; }

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

This text font color is #28242A.


Background Color

.myBgColor { background-color: #28242A; }

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

This div background color is #28242A.


Border color

.myBorderColor { border: 1px solid #28242A; }

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

This div border color is #28242A.


Opacity

.myOpacity80 { color: #28242A; opacity: 0.8; }

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

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

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

This text has shadow with #28242A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #28242A on black background.


Color preview on white background

This text has color #28242A on white background.



Black color preview on #28242A background

This text has black color on #28242A background.


White color preview on #28242A background

This text has white color on #28242A background.