COLOR #282728

HEX: #282728 RGB: (40,39,40)

Color info

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

RGB color model

#282728 color RGB value is (40,39,40).

RGB: (40,39,40) (16%, 15%, 16%)

RGB channels and saturation

R 40 of 255 = 16%
G 39 of 255 = 15%
B 40 of 255 = 16%

40
39
40

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

Portions of RGB colors in percentages

R + G + B = 40 + 39 + 40 = 119 (100%)
R 40 of 119 ~ 33.61%
G 39 of 119 ~ 32.77%
B 40 of 119 ~ 33.61'%

%33.61
%32.77
%33.61

CMYK color model

#282728 color CMYK value is (0,2,0,84).

  • cyan value is 0.00%
  • magenta value is 2.50%
  • yellow value is 0.00%
  • key color value is 84.31%

CMYK: (0,2,0,84)
C0M2Y0K84 (0%, 2%, 0%, 84%)
(0.00 / 0.02 / 0.00 / 0.84)

CMYK percentages

%0
%2.5
%0
%84.31

Codes

Color #282728 in popluar color models

28 27 28
RGB 40 39 40
HSL 300° 1.27% 15.49%
HSB/HSV 300° 2.50% 15.69%
CMYK 0.00% 2.50% 0.00%
84.31%

Color #282728 in popluar number systems.

HEX 28 27 28
Decimal 40 39 40
Binary 101000 100111 101000
Octal 50 47 50

Shades and tints

Shades of #282728

#282728
(40,39,40)
#252425
(37,36,37)
#222122
(34,33,34)
#1F1E1F
(31,30,31)
#1C1B1C
(28,27,28)
#191819
(25,24,25)
#161516
(22,21,22)
#131213
(19,18,19)
#100F10
(16,15,16)
#0D0C0D
(13,12,13)
#0A090A
(10,9,10)
#000000
(0,0,0)

Tints of #282728

#282728
(40,39,40)
#3B3A3B
(59,58,59)
#4E4D4E
(78,77,78)
#616061
(97,96,97)
#747374
(116,115,116)
#878687
(135,134,135)
#9A999A
(154,153,154)
#ADACAD
(173,172,173)
#C0BFC0
(192,191,192)
#D3D2D3
(211,210,211)
#E6E5E6
(230,229,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #282728; }

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

This text font color is #282728.

Background Color

.myBgColor { background-color: #282728; }

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

This div background color is #282728.

Border color

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

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

This div border color is #282728.

Opacity

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

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

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

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

This text has shadow with #282728 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #282728.

Preview

Color preview on black background

This text has color #282728 on black background.


Color preview on white background

This text has color #282728 on white background.


Black color preview on #282728 background

This text has black color on #282728 background.


White color preview on #282728 background

This text has white color on #282728 background.


Related colors

Complementary color

Complementary color for #hex is #D7D8D7.


I love getcolorcode.com

Triadic colors

1 #282827 and #272828 with #282728 are triadic colors.

2 #282728 and #272828 with #282728 are triadic colors.