COLOR #301F21

HEX: #301F21 RGB: (48,31,33)

Color info

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

RGB color model

#301F21 color RGB value is (48,31,33).

RGB: (48,31,33) (19%, 12%, 13%)

RGB channels and saturation

R 48 of 255 = 19%
G 31 of 255 = 12%
B 33 of 255 = 13%

48
31
33

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

Portions of RGB colors in percentages

R + G + B = 48 + 31 + 33 = 112 (100%)
R 48 of 112 ~ 42.86%
G 31 of 112 ~ 27.68%
B 33 of 112 ~ 29.46'%

%42.86
%27.68
%29.46

CMYK color model

#301F21 color CMYK value is (0,35,31,81).

  • cyan value is 0.00%
  • magenta value is 35.42%
  • yellow value is 31.25%
  • key color value is 81.18%

CMYK: (0,35,31,81)
C0M35Y31K81 (0%, 35%, 31%, 81%)
(0.00 / 0.35 / 0.31 / 0.81)

CMYK percentages

%0
%35.42
%31.25
%81.18

Codes

Color #301F21 in popluar color models

30 1F 21
RGB 48 31 33
HSL 353° 21.52% 15.49%
HSB/HSV 353° 35.42% 18.82%
CMYK 0.00% 35.42% 31.25%
81.18%

Color #301F21 in popluar number systems.

HEX 30 1F 21
Decimal 48 31 33
Binary 110000 11111 100001
Octal 60 37 41

Shades and tints

Shades of #301F21

#301F21
(48,31,33)
#2C1D1E
(44,29,30)
#281B1B
(40,27,27)
#241918
(36,25,24)
#201715
(32,23,21)
#1C1512
(28,21,18)
#18130F
(24,19,15)
#14110C
(20,17,12)
#100F09
(16,15,9)
#0C0D06
(12,13,6)
#080B03
(8,11,3)
#000000
(0,0,0)

Tints of #301F21

#301F21
(48,31,33)
#423335
(66,51,53)
#544749
(84,71,73)
#665B5D
(102,91,93)
#786F71
(120,111,113)
#8A8385
(138,131,133)
#9C9799
(156,151,153)
#AEABAD
(174,171,173)
#C0BFC1
(192,191,193)
#D2D3D5
(210,211,213)
#E4E7E9
(228,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #301F21; }

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

This text font color is #301F21.

Background Color

.myBgColor { background-color: #301F21; }

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

This div background color is #301F21.

Border color

.myBorderColor { border: 1px solid #301F21; }

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

This div border color is #301F21.

Opacity

.myOpacity80 { color: #301F21; opacity: 0.8; }

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

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

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

This text has shadow with #301F21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #301F21.

Preview

Color preview on black background

This text has color #301F21 on black background.


Color preview on white background

This text has color #301F21 on white background.


Black color preview on #301F21 background

This text has black color on #301F21 background.


White color preview on #301F21 background

This text has white color on #301F21 background.


Related colors

Complementary color

Complementary color for #hex is #CFE0DE.


I love getcolorcode.com

Triadic colors

1 #21301F and #1F2130 with #301F21 are triadic colors.

2 #211F30 and #1F3021 with #301F21 are triadic colors.