COLOR #304B31

HEX: #304B31 RGB: (48,75,49)

Color info

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

RGB color model

#304B31 color RGB value is (48,75,49).

RGB: (48,75,49) (19%, 29%, 19%)

RGB channels and saturation

R 48 of 255 = 19%
G 75 of 255 = 29%
B 49 of 255 = 19%

48
75
49

R + G + B ~ 22%. #304B31 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 75 + 49 = 172 (100%)
R 48 of 172 ~ 27.91%
G 75 of 172 ~ 43.6%
B 49 of 172 ~ 28.49'%

%27.91
%43.6
%28.49

CMYK color model

#304B31 color CMYK value is (36,0,35,71).

  • cyan value is 36.00%
  • magenta value is 0.00%
  • yellow value is 34.67%
  • key color value is 70.59%

CMYK: (36,0,35,71)
C36M0Y35K71 (36%, 0%, 35%, 71%)
(0.36 / 0.00 / 0.35 / 0.71)

CMYK percentages

%36
%0
%34.67
%70.59

Codes

Color #304B31 in popluar color models

30 4B 31
RGB 48 75 49
HSL 122° 21.95% 24.12%
HSB/HSV 122° 36.00% 29.41%
CMYK 36.00% 0.00% 34.67%
70.59%

Color #304B31 in popluar number systems.

HEX 30 4B 31
Decimal 48 75 49
Binary 110000 1001011 110001
Octal 60 113 61

Shades and tints

Shades of #304B31

#304B31
(48,75,49)
#2C452D
(44,69,45)
#283F29
(40,63,41)
#243925
(36,57,37)
#203321
(32,51,33)
#1C2D1D
(28,45,29)
#182719
(24,39,25)
#142115
(20,33,21)
#101B11
(16,27,17)
#0C150D
(12,21,13)
#080F09
(8,15,9)
#000000
(0,0,0)

Tints of #304B31

#304B31
(48,75,49)
#425B43
(66,91,67)
#546B55
(84,107,85)
#667B67
(102,123,103)
#788B79
(120,139,121)
#8A9B8B
(138,155,139)
#9CAB9D
(156,171,157)
#AEBBAF
(174,187,175)
#C0CBC1
(192,203,193)
#D2DBD3
(210,219,211)
#E4EBE5
(228,235,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304B31 color. Also use rgb(48,75,49) instead hex code.

Text Font Color

.myTextColor { color: #304B31; }

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

This text font color is #304B31.

Background Color

.myBgColor { background-color: #304B31; }

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

This div background color is #304B31.

Border color

.myBorderColor { border: 1px solid #304B31; }

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

This div border color is #304B31.

Opacity

.myOpacity80 { color: #304B31; opacity: 0.8; }

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

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

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

This text has shadow with #304B31 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304B31.

Preview

Color preview on black background

This text has color #304B31 on black background.


Color preview on white background

This text has color #304B31 on white background.


Black color preview on #304B31 background

This text has black color on #304B31 background.


White color preview on #304B31 background

This text has white color on #304B31 background.


Related colors

Complementary color

Complementary color for #hex is #CFB4CE.


I love getcolorcode.com

Triadic colors

1 #31304B and #4B3130 with #304B31 are triadic colors.

2 #314B30 and #4B3031 with #304B31 are triadic colors.