COLOR #28252A

HEX: #28252A
RGB: (40,37,42)

Color info

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

RGB color model

#28252A color RGB value is (40,37,42).

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

RGB channels and saturation

R 40 of 255 = 16%
G 37 of 255 = 15%
B 42 of 255 = 16%

40
37
42

R + G + B ~ 16%. #28252A is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 37 + 42 = 119 (100%)
R 40 of 119 ~ 33.61%
G 37 of 119 ~ 31.09%
B 42 of 119 ~ 35.29%

%33.61
%31.09
%35.29

CMYK color model

#28252A color CMYK value is (5,12,0,84).

  • cyan value is 4.76%
  • magenta value is 11.90%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(5,12,0,84)
C5M12Y0K84 
(5%,12%,0%,84%)
(0.05/0.12/0.00/0.84)	

CMYK percentages

%4.76
%11.9
%0
%83.53

Codes

Color #28252A in popluar color models

28252A
RGB403742
HSL276°6.33%15.49%
HSB/HSV276°11.90%16.47%
CMYK4.76%11.90%0.00%
83.53%

Color #28252A in popluar number systems.

HEX28252A
Decimal403742
Binary101000100101101010
Octal504552

Shades and tints

Shades of #28252A

#28252A
(40,37,42)
#252227
(37,34,39)
#221F24
(34,31,36)
#1F1C21
(31,28,33)
#1C191E
(28,25,30)
#19161B
(25,22,27)
#161318
(22,19,24)
#131015
(19,16,21)
#100D12
(16,13,18)
#0D0A0F
(13,10,15)
#0A070C
(10,7,12)
#000000
(0,0,0)

Tints of #28252A

#28252A
(40,37,42)
#3B383D
(59,56,61)
#4E4B50
(78,75,80)
#615E63
(97,94,99)
#747176
(116,113,118)
#878489
(135,132,137)
#9A979C
(154,151,156)
#ADAAAF
(173,170,175)
#C0BDC2
(192,189,194)
#D3D0D5
(211,208,213)
#E6E3E8
(230,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #28252A; }

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

This text font color is #28252A.


Background Color

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

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

This div background color is #28252A.


Border color

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

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

This div border color is #28252A.


Opacity

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

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

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

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

This text has shadow with #28252A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #28252A on black background.


Color preview on white background

This text has color #28252A on white background.



Black color preview on #28252A background

This text has black color on #28252A background.


White color preview on #28252A background

This text has white color on #28252A background.