COLOR #284A07

HEX: #284A07
RGB: (40,74,7)

Color info

#284A07 contains mainly red and green colors. Web safe color of #284A07 is #333300 (or #330).

RGB color model

#284A07 color RGB value is (40,74,7).

  • red value is 40;
  • green value is 74;
  • blue value is 7.
RGB:
(40,74,7)
(16%,29%,3%)

RGB channels and saturation

R 40 of 255 = 16%
G 74 of 255 = 29%
B 7 of 255 = 3%

40
74
7

R + G + B ~ 16%. #284A07 is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 74 + 7 = 121 (100%)
R 40 of 121 ~ 33.06%
G 74 of 121 ~ 61.16%
B 7 of 121 ~ 5.79%

%33.06
%61.16

CMYK color model

#284A07 color CMYK value is (46,0,91,71).

  • cyan value is 45.95%
  • magenta value is 0.00%
  • yellow value is 90.54%
  • key color value is 70.98%
CMYK:
(46,0,91,71)
C46M0Y91K71 
(46%,0%,91%,71%)
(0.46/0.00/0.91/0.71)	

CMYK percentages

%45.95
%0
%90.54
%70.98

Codes

Color #284A07 in popluar color models

284A07
RGB40747
HSL90°82.72%15.88%
HSB/HSV90°90.54%29.02%
CMYK45.95%0.00%90.54%
70.98%

Color #284A07 in popluar number systems.

HEX284A07
Decimal40747
Binary1010001001010111
Octal501127

Shades and tints

Shades of #284A07

#284A07
(40,74,7)
#254407
(37,68,7)
#223E07
(34,62,7)
#1F3807
(31,56,7)
#1C3207
(28,50,7)
#192C07
(25,44,7)
#162607
(22,38,7)
#132007
(19,32,7)
#101A07
(16,26,7)
#0D1407
(13,20,7)
#0A0E07
(10,14,7)
#000000
(0,0,0)

Tints of #284A07

#284A07
(40,74,7)
#3B5A1D
(59,90,29)
#4E6A33
(78,106,51)
#617A49
(97,122,73)
#748A5F
(116,138,95)
#879A75
(135,154,117)
#9AAA8B
(154,170,139)
#ADBAA1
(173,186,161)
#C0CAB7
(192,202,183)
#D3DACD
(211,218,205)
#E6EAE3
(230,234,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #284A07 color. Also use rgb(40,74,7) instead hex code.

Text Font Color

.myTextColor { color: #284A07; }

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

This text font color is #284A07.


Background Color

.myBgColor { background-color: #284A07; }

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

This div background color is #284A07.


Border color

.myBorderColor { border: 1px solid #284A07; }

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

This div border color is #284A07.


Opacity

.myOpacity80 { color: #284A07; opacity: 0.8; }

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

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

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

This text has shadow with #284A07 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #284A07 on black background.


Color preview on white background

This text has color #284A07 on white background.



Black color preview on #284A07 background

This text has black color on #284A07 background.


White color preview on #284A07 background

This text has white color on #284A07 background.