COLOR #304F08

HEX: #304F08 RGB: (48,79,8)

Color info

#304F08 contains mainly red and green colors. Web safe color of #304F08 is #336600 (or #360).

RGB color model

#304F08 color RGB value is (48,79,8).

RGB: (48,79,8) (19%, 31%, 3%)

RGB channels and saturation

R 48 of 255 = 19%
G 79 of 255 = 31%
B 8 of 255 = 3%

48
79
8

R + G + B ~ 18%. #304F08 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 79 + 8 = 135 (100%)
R 48 of 135 ~ 35.56%
G 79 of 135 ~ 58.52%
B 8 of 135 ~ 5.93'%

%35.56
%58.52

CMYK color model

#304F08 color CMYK value is (39,0,90,69).

  • cyan value is 39.24%
  • magenta value is 0.00%
  • yellow value is 89.87%
  • key color value is 69.02%

CMYK: (39,0,90,69)
C39M0Y90K69 (39%, 0%, 90%, 69%)
(0.39 / 0.00 / 0.90 / 0.69)

CMYK percentages

%39.24
%0
%89.87
%69.02

Codes

Color #304F08 in popluar color models

30 4F 08
RGB 48 79 8
HSL 86° 81.61% 17.06%
HSB/HSV 86° 89.87% 30.98%
CMYK 39.24% 0.00% 89.87%
69.02%

Color #304F08 in popluar number systems.

HEX 30 4F 08
Decimal 48 79 8
Binary 110000 1001111 1000
Octal 60 117 10

Shades and tints

Shades of #304F08

#304F08
(48,79,8)
#2C4808
(44,72,8)
#284108
(40,65,8)
#243A08
(36,58,8)
#203308
(32,51,8)
#1C2C08
(28,44,8)
#182508
(24,37,8)
#141E08
(20,30,8)
#101708
(16,23,8)
#0C1008
(12,16,8)
#080908
(8,9,8)
#000000
(0,0,0)

Tints of #304F08

#304F08
(48,79,8)
#425F1E
(66,95,30)
#546F34
(84,111,52)
#667F4A
(102,127,74)
#788F60
(120,143,96)
#8A9F76
(138,159,118)
#9CAF8C
(156,175,140)
#AEBFA2
(174,191,162)
#C0CFB8
(192,207,184)
#D2DFCE
(210,223,206)
#E4EFE4
(228,239,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304F08 color. Also use rgb(48,79,8) instead hex code.

Text Font Color

.myTextColor { color: #304F08; }

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

This text font color is #304F08.

Background Color

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

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

This div background color is #304F08.

Border color

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

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

This div border color is #304F08.

Opacity

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

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

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

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

This text has shadow with #304F08 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304F08.

Preview

Color preview on black background

This text has color #304F08 on black background.


Color preview on white background

This text has color #304F08 on white background.


Black color preview on #304F08 background

This text has black color on #304F08 background.


White color preview on #304F08 background

This text has white color on #304F08 background.


Related colors

Complementary color

Complementary color for #hex is #CFB0F7.


I love getcolorcode.com

Triadic colors

1 #08304F and #4F0830 with #304F08 are triadic colors.

2 #084F30 and #4F3008 with #304F08 are triadic colors.