COLOR #301821

HEX: #301821
RGB: (48,24,33)

Color info

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

RGB color model

#301821 color RGB value is (48,24,33).

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

RGB channels and saturation

R 48 of 255 = 19%
G 24 of 255 = 9%
B 33 of 255 = 13%

48
24
33

R + G + B ~ 14%. #301821 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 24 + 33 = 105 (100%)
R 48 of 105 ~ 45.71%
G 24 of 105 ~ 22.86%
B 33 of 105 ~ 31.43%

%45.71
%22.86
%31.43

CMYK color model

#301821 color CMYK value is (0,50,31,81).

  • cyan value is 0.00%
  • magenta value is 50.00%
  • yellow value is 31.25%
  • key color value is 81.18%
CMYK:
(0,50,31,81)
C0M50Y31K81 
(0%,50%,31%,81%)
(0.00/0.50/0.31/0.81)	

CMYK percentages

%0
%50
%31.25
%81.18

Codes

Color #301821 in popluar color models

301821
RGB482433
HSL338°33.33%14.12%
HSB/HSV338°50.00%18.82%
CMYK0.00%50.00%31.25%
81.18%

Color #301821 in popluar number systems.

HEX301821
Decimal482433
Binary11000011000100001
Octal603041

Shades and tints

Shades of #301821

#301821
(48,24,33)
#2C161E
(44,22,30)
#28141B
(40,20,27)
#241218
(36,18,24)
#201015
(32,16,21)
#1C0E12
(28,14,18)
#180C0F
(24,12,15)
#140A0C
(20,10,12)
#100809
(16,8,9)
#0C0606
(12,6,6)
#080403
(8,4,3)
#000000
(0,0,0)

Tints of #301821

#301821
(48,24,33)
#422D35
(66,45,53)
#544249
(84,66,73)
#66575D
(102,87,93)
#786C71
(120,108,113)
#8A8185
(138,129,133)
#9C9699
(156,150,153)
#AEABAD
(174,171,173)
#C0C0C1
(192,192,193)
#D2D5D5
(210,213,213)
#E4EAE9
(228,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #301821; }

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

This text font color is #301821.


Background Color

.myBgColor { background-color: #301821; }

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

This div background color is #301821.


Border color

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

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

This div border color is #301821.


Opacity

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

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

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

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

This text has shadow with #301821 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #301821 on black background.


Color preview on white background

This text has color #301821 on white background.



Black color preview on #301821 background

This text has black color on #301821 background.


White color preview on #301821 background

This text has white color on #301821 background.