COLOR #308C40

HEX: #308C40
RGB: (48,140,64)

Color info

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

RGB color model

#308C40 color RGB value is (48,140,64).

  • red value is 48;
  • green value is 140;
  • blue value is 64.
RGB:
(48,140,64)
(19%,55%,25%)

RGB channels and saturation

R 48 of 255 = 19%
G 140 of 255 = 55%
B 64 of 255 = 25%

48
140
64

R + G + B ~ 33%. #308C40 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 140 + 64 = 252 (100%)
R 48 of 252 ~ 19.05%
G 140 of 252 ~ 55.56%
B 64 of 252 ~ 25.4%

%19.05
%55.56
%25.4

CMYK color model

#308C40 color CMYK value is (66,0,54,45).

  • cyan value is 65.71%
  • magenta value is 0.00%
  • yellow value is 54.29%
  • key color value is 45.10%
CMYK:
(66,0,54,45)
C66M0Y54K45 
(66%,0%,54%,45%)
(0.66/0.00/0.54/0.45)	

CMYK percentages

%65.71
%0
%54.29
%45.1

Codes

Color #308C40 in popluar color models

308C40
RGB4814064
HSL130°48.94%36.86%
HSB/HSV130°65.71%54.90%
CMYK65.71%0.00%54.29%
45.10%

Color #308C40 in popluar number systems.

HEX308C40
Decimal4814064
Binary110000100011001000000
Octal60214100

Shades and tints

Shades of #308C40

#308C40
(48,140,64)
#2C803B
(44,128,59)
#287436
(40,116,54)
#246831
(36,104,49)
#205C2C
(32,92,44)
#1C5027
(28,80,39)
#184422
(24,68,34)
#14381D
(20,56,29)
#102C18
(16,44,24)
#0C2013
(12,32,19)
#08140E
(8,20,14)
#000000
(0,0,0)

Tints of #308C40

#308C40
(48,140,64)
#429651
(66,150,81)
#54A062
(84,160,98)
#66AA73
(102,170,115)
#78B484
(120,180,132)
#8ABE95
(138,190,149)
#9CC8A6
(156,200,166)
#AED2B7
(174,210,183)
#C0DCC8
(192,220,200)
#D2E6D9
(210,230,217)
#E4F0EA
(228,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #308C40 color. Also use rgb(48,140,64) instead hex code.

Text Font Color

.myTextColor { color: #308C40; }

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

This text font color is #308C40.


Background Color

.myBgColor { background-color: #308C40; }

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

This div background color is #308C40.


Border color

.myBorderColor { border: 1px solid #308C40; }

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

This div border color is #308C40.


Opacity

.myOpacity80 { color: #308C40; opacity: 0.8; }

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

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

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

This text has shadow with #308C40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #308C40 on black background.


Color preview on white background

This text has color #308C40 on white background.



Black color preview on #308C40 background

This text has black color on #308C40 background.


White color preview on #308C40 background

This text has white color on #308C40 background.