COLOR #308142

HEX: #308142
RGB: (48,129,66)

Color info

#308142 contains mainly green color. Web safe color of #308142 is #339933 (or #393).

RGB color model

#308142 color RGB value is (48,129,66).

  • red value is 48;
  • green value is 129;
  • blue value is 66.
RGB:
(48,129,66)
(19%,51%,26%)

RGB channels and saturation

R 48 of 255 = 19%
G 129 of 255 = 51%
B 66 of 255 = 26%

48
129
66

R + G + B ~ 32%. #308142 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 129 + 66 = 243 (100%)
R 48 of 243 ~ 19.75%
G 129 of 243 ~ 53.09%
B 66 of 243 ~ 27.16%

%19.75
%53.09
%27.16

CMYK color model

#308142 color CMYK value is (63,0,49,49).

  • cyan value is 62.79%
  • magenta value is 0.00%
  • yellow value is 48.84%
  • key color value is 49.41%
CMYK:
(63,0,49,49)
C63M0Y49K49 
(63%,0%,49%,49%)
(0.63/0.00/0.49/0.49)	

CMYK percentages

%62.79
%0
%48.84
%49.41

Codes

Color #308142 in popluar color models

308142
RGB4812966
HSL133°45.76%34.71%
HSB/HSV133°62.79%50.59%
CMYK62.79%0.00%48.84%
49.41%

Color #308142 in popluar number systems.

HEX308142
Decimal4812966
Binary110000100000011000010
Octal60201102

Shades and tints

Shades of #308142

#308142
(48,129,66)
#2C763C
(44,118,60)
#286B36
(40,107,54)
#246030
(36,96,48)
#20552A
(32,85,42)
#1C4A24
(28,74,36)
#183F1E
(24,63,30)
#143418
(20,52,24)
#102912
(16,41,18)
#0C1E0C
(12,30,12)
#081306
(8,19,6)
#000000
(0,0,0)

Tints of #308142

#308142
(48,129,66)
#428C53
(66,140,83)
#549764
(84,151,100)
#66A275
(102,162,117)
#78AD86
(120,173,134)
#8AB897
(138,184,151)
#9CC3A8
(156,195,168)
#AECEB9
(174,206,185)
#C0D9CA
(192,217,202)
#D2E4DB
(210,228,219)
#E4EFEC
(228,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #308142 color. Also use rgb(48,129,66) instead hex code.

Text Font Color

.myTextColor { color: #308142; }

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

This text font color is #308142.


Background Color

.myBgColor { background-color: #308142; }

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

This div background color is #308142.


Border color

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

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

This div border color is #308142.


Opacity

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

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

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

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

This text has shadow with #308142 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #308142 on black background.


Color preview on white background

This text has color #308142 on white background.



Black color preview on #308142 background

This text has black color on #308142 background.


White color preview on #308142 background

This text has white color on #308142 background.