COLOR #042C2A

HEX: #042C2A
RGB: (4,44,42)

Color info

#042C2A contains red, green and blue colors in about the same proportion. Web safe color of #042C2A is #003333 (or #033).

RGB color model

#042C2A color RGB value is (4,44,42).

  • red value is 4;
  • green value is 44;
  • blue value is 42.
RGB:
(4,44,42)
(2%,17%,16%)

RGB channels and saturation

R 4 of 255 = 2%
G 44 of 255 = 17%
B 42 of 255 = 16%

4
44
42

R + G + B ~ 12%. #042C2A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 44 + 42 = 90 (100%)
R 4 of 90 ~ 4.44%
G 44 of 90 ~ 48.89%
B 42 of 90 ~ 46.67%

%48.89
%46.67

CMYK color model

#042C2A color CMYK value is (91,0,5,83).

  • cyan value is 90.91%
  • magenta value is 0.00%
  • yellow value is 4.55%
  • key color value is 82.75%
CMYK:
(91,0,5,83)
C91M0Y5K83 
(91%,0%,5%,83%)
(0.91/0.00/0.05/0.83)	

CMYK percentages

%90.91
%0
%4.55
%82.75

Codes

Color #042C2A in popluar color models

042C2A
RGB44442
HSL177°83.33%9.41%
HSB/HSV177°90.91%17.25%
CMYK90.91%0.00%4.55%
82.75%

Color #042C2A in popluar number systems.

HEX042C2A
Decimal44442
Binary100101100101010
Octal45452

Shades and tints

Shades of #042C2A

#042C2A
(4,44,42)
#042827
(4,40,39)
#042424
(4,36,36)
#042021
(4,32,33)
#041C1E
(4,28,30)
#04181B
(4,24,27)
#041418
(4,20,24)
#041015
(4,16,21)
#040C12
(4,12,18)
#04080F
(4,8,15)
#04040C
(4,4,12)
#000000
(0,0,0)

Tints of #042C2A

#042C2A
(4,44,42)
#1A3F3D
(26,63,61)
#305250
(48,82,80)
#466563
(70,101,99)
#5C7876
(92,120,118)
#728B89
(114,139,137)
#889E9C
(136,158,156)
#9EB1AF
(158,177,175)
#B4C4C2
(180,196,194)
#CAD7D5
(202,215,213)
#E0EAE8
(224,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #042C2A; }

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

This text font color is #042C2A.


Background Color

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

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

This div background color is #042C2A.


Border color

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

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

This div border color is #042C2A.


Opacity

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

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

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

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

This text has shadow with #042C2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042C2A on black background.


Color preview on white background

This text has color #042C2A on white background.



Black color preview on #042C2A background

This text has black color on #042C2A background.


White color preview on #042C2A background

This text has white color on #042C2A background.