COLOR #304638

HEX: #304638 RGB: (48,70,56)

Color info

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

RGB color model

#304638 color RGB value is (48,70,56).

RGB: (48,70,56) (19%, 27%, 22%)

RGB channels and saturation

R 48 of 255 = 19%
G 70 of 255 = 27%
B 56 of 255 = 22%

48
70
56

R + G + B ~ 23%. #304638 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 70 + 56 = 174 (100%)
R 48 of 174 ~ 27.59%
G 70 of 174 ~ 40.23%
B 56 of 174 ~ 32.18'%

%27.59
%40.23
%32.18

CMYK color model

#304638 color CMYK value is (31,0,20,73).

  • cyan value is 31.43%
  • magenta value is 0.00%
  • yellow value is 20.00%
  • key color value is 72.55%

CMYK: (31,0,20,73)
C31M0Y20K73 (31%, 0%, 20%, 73%)
(0.31 / 0.00 / 0.20 / 0.73)

CMYK percentages

%31.43
%0
%20
%72.55

Codes

Color #304638 in popluar color models

30 46 38
RGB 48 70 56
HSL 142° 18.64% 23.14%
HSB/HSV 142° 31.43% 27.45%
CMYK 31.43% 0.00% 20.00%
72.55%

Color #304638 in popluar number systems.

HEX 30 46 38
Decimal 48 70 56
Binary 110000 1000110 111000
Octal 60 106 70

Shades and tints

Shades of #304638

#304638
(48,70,56)
#2C4033
(44,64,51)
#283A2E
(40,58,46)
#243429
(36,52,41)
#202E24
(32,46,36)
#1C281F
(28,40,31)
#18221A
(24,34,26)
#141C15
(20,28,21)
#101610
(16,22,16)
#0C100B
(12,16,11)
#080A06
(8,10,6)
#000000
(0,0,0)

Tints of #304638

#304638
(48,70,56)
#42564A
(66,86,74)
#54665C
(84,102,92)
#66766E
(102,118,110)
#788680
(120,134,128)
#8A9692
(138,150,146)
#9CA6A4
(156,166,164)
#AEB6B6
(174,182,182)
#C0C6C8
(192,198,200)
#D2D6DA
(210,214,218)
#E4E6EC
(228,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304638; }

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

This text font color is #304638.

Background Color

.myBgColor { background-color: #304638; }

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

This div background color is #304638.

Border color

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

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

This div border color is #304638.

Opacity

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

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

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

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

This text has shadow with #304638 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304638.

Preview

Color preview on black background

This text has color #304638 on black background.


Color preview on white background

This text has color #304638 on white background.


Black color preview on #304638 background

This text has black color on #304638 background.


White color preview on #304638 background

This text has white color on #304638 background.


Related colors

Complementary color

Complementary color for #hex is #CFB9C7.


I love getcolorcode.com

Triadic colors

1 #383046 and #463830 with #304638 are triadic colors.

2 #384630 and #463038 with #304638 are triadic colors.