COLOR #042A02

HEX: #042A02 RGB: (4,42,2)

Color info

#042A02 contains red, green and blue colors in about the same proportion. Web safe color of #042A02 is #003300 (or #030).

RGB color model

#042A02 color RGB value is (4,42,2).

RGB: (4,42,2) (2%, 16%, 1%)

RGB channels and saturation

R 4 of 255 = 2%
G 42 of 255 = 16%
B 2 of 255 = 1%

4
42
2

R + G + B ~ 6%. #042A02 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 42 + 2 = 48 (100%)
R 4 of 48 ~ 8.33%
G 42 of 48 ~ 87.5%
B 2 of 48 ~ 4.17'%

%87.5

CMYK color model

#042A02 color CMYK value is (90,0,95,84).

  • cyan value is 90.48%
  • magenta value is 0.00%
  • yellow value is 95.24%
  • key color value is 83.53%

CMYK: (90,0,95,84)
C90M0Y95K84 (90%, 0%, 95%, 84%)
(0.90 / 0.00 / 0.95 / 0.84)

CMYK percentages

%90.48
%0
%95.24
%83.53

Codes

Color #042A02 in popluar color models

04 2A 02
RGB 4 42 2
HSL 117° 90.91% 8.63%
HSB/HSV 117° 95.24% 16.47%
CMYK 90.48% 0.00% 95.24%
83.53%

Color #042A02 in popluar number systems.

HEX 04 2A 02
Decimal 4 42 2
Binary 100 101010 10
Octal 4 52 2

Shades and tints

Shades of #042A02

#042A02
(4,42,2)
#042702
(4,39,2)
#042402
(4,36,2)
#042102
(4,33,2)
#041E02
(4,30,2)
#041B02
(4,27,2)
#041802
(4,24,2)
#041502
(4,21,2)
#041202
(4,18,2)
#040F02
(4,15,2)
#040C02
(4,12,2)
#000000
(0,0,0)

Tints of #042A02

#042A02
(4,42,2)
#1A3D19
(26,61,25)
#305030
(48,80,48)
#466347
(70,99,71)
#5C765E
(92,118,94)
#728975
(114,137,117)
#889C8C
(136,156,140)
#9EAFA3
(158,175,163)
#B4C2BA
(180,194,186)
#CAD5D1
(202,213,209)
#E0E8E8
(224,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042A02 color. Also use rgb(4,42,2) instead hex code.

Text Font Color

.myTextColor { color: #042A02; }

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

This text font color is #042A02.

Background Color

.myBgColor { background-color: #042A02; }

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

This div background color is #042A02.

Border color

.myBorderColor { border: 1px solid #042A02; }

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

This div border color is #042A02.

Opacity

.myOpacity80 { color: #042A02; opacity: 0.8; }

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

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

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

This text has shadow with #042A02 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042A02.

Preview

Color preview on black background

This text has color #042A02 on black background.


Color preview on white background

This text has color #042A02 on white background.


Black color preview on #042A02 background

This text has black color on #042A02 background.


White color preview on #042A02 background

This text has white color on #042A02 background.


Related colors

Complementary color

Complementary color for #hex is #FBD5FD.


I love getcolorcode.com

Triadic colors

1 #02042A and #2A0204 with #042A02 are triadic colors.

2 #022A04 and #2A0402 with #042A02 are triadic colors.