COLOR #301828

HEX: #301828
RGB: (48,24,40)

Color info

#301828 contains red, green and blue colors in about the same proportion. Web safe color of #301828 is #330033 (or #303).

RGB color model

#301828 color RGB value is (48,24,40).

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

RGB channels and saturation

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

48
24
40

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

Portions of RGB colors in percentages

R + G + B =
48 + 24 + 40 = 112 (100%)
R 48 of 112 ~ 42.86%
G 24 of 112 ~ 21.43%
B 40 of 112 ~ 35.71%

%42.86
%21.43
%35.71

CMYK color model

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

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

CMYK percentages

%0
%50
%16.67
%81.18

Codes

Color #301828 in popluar color models

301828
RGB482440
HSL320°33.33%14.12%
HSB/HSV320°50.00%18.82%
CMYK0.00%50.00%16.67%
81.18%

Color #301828 in popluar number systems.

HEX301828
Decimal482440
Binary11000011000101000
Octal603050

Shades and tints

Shades of #301828

#301828
(48,24,40)
#2C1625
(44,22,37)
#281422
(40,20,34)
#24121F
(36,18,31)
#20101C
(32,16,28)
#1C0E19
(28,14,25)
#180C16
(24,12,22)
#140A13
(20,10,19)
#100810
(16,8,16)
#0C060D
(12,6,13)
#08040A
(8,4,10)
#000000
(0,0,0)

Tints of #301828

#301828
(48,24,40)
#422D3B
(66,45,59)
#54424E
(84,66,78)
#665761
(102,87,97)
#786C74
(120,108,116)
#8A8187
(138,129,135)
#9C969A
(156,150,154)
#AEABAD
(174,171,173)
#C0C0C0
(192,192,192)
#D2D5D3
(210,213,211)
#E4EAE6
(228,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #301828; }

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

This text font color is #301828.


Background Color

.myBgColor { background-color: #301828; }

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

This div background color is #301828.


Border color

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

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

This div border color is #301828.


Opacity

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

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

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

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

This text has shadow with #301828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #301828 on black background.


Color preview on white background

This text has color #301828 on white background.



Black color preview on #301828 background

This text has black color on #301828 background.


White color preview on #301828 background

This text has white color on #301828 background.