COLOR #302828

HEX: #302828
RGB: (48,40,40)

Color info

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

RGB color model

#302828 color RGB value is (48,40,40).

  • red value is 48;
  • green value is 40;
  • blue value is 40.
RGB: (48,40,40) (19%,16%,16%)

RGB channels and saturation

R 48 of 255 = 19%
G 40 of 255 = 16%
B 40 of 255 = 16%

48
40
40

R + G + B ~ 17%. #302828 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 40 + 40 = 128 (100%)
R 48 of 128 ~ 37.5%
G 40 of 128 ~ 31.25%
B 40 of 128 ~ 31.25%

%37.5
%31.25
%31.25

CMYK color model

#302828 color CMYK value is (0,17,17,81).

  • cyan value is 0.00%
  • magenta value is 16.67%
  • yellow value is 16.67%
  • key color value is 81.18%
CMYK: (0,17,17,81) C0M17Y17K81 (0%,17%,17%,81%) (0.00/0.17/0.17/0.81)

CMYK percentages

%0
%16.67
%16.67
%81.18

Codes

Color #302828 in popluar color models

302828
RGB484040
HSL9.09%17.25%
HSB/HSV16.67%18.82%
CMYK0.00%16.67%16.67%
81.18%

Color #302828 in popluar number systems.

HEX302828
Decimal484040
Binary110000101000101000
Octal605050

Shades and tints

Shades of #302828

#302828
(48,40,40)
#2C2525
(44,37,37)
#282222
(40,34,34)
#241F1F
(36,31,31)
#201C1C
(32,28,28)
#1C1919
(28,25,25)
#181616
(24,22,22)
#141313
(20,19,19)
#101010
(16,16,16)
#0C0D0D
(12,13,13)
#080A0A
(8,10,10)
#000000
(0,0,0)

Tints of #302828

#302828
(48,40,40)
#423B3B
(66,59,59)
#544E4E
(84,78,78)
#666161
(102,97,97)
#787474
(120,116,116)
#8A8787
(138,135,135)
#9C9A9A
(156,154,154)
#AEADAD
(174,173,173)
#C0C0C0
(192,192,192)
#D2D3D3
(210,211,211)
#E4E6E6
(228,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #302828; }

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

This text font color is #302828.


Background Color

.myBgColor { background-color: #302828; }

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

This div background color is #302828.


Border color

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

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

This div border color is #302828.


Opacity

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

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

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

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

This text has shadow with #302828 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #302828 on black background.


Color preview on white background

This text has color #302828 on white background.



Black color preview on #302828 background

This text has black color on #302828 background.


White color preview on #302828 background

This text has white color on #302828 background.