COLOR #042F21

HEX: #042F21 RGB: (4,47,33)

Color info

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

RGB color model

#042F21 color RGB value is (4,47,33).

RGB: (4,47,33) (2%, 18%, 13%)

RGB channels and saturation

R 4 of 255 = 2%
G 47 of 255 = 18%
B 33 of 255 = 13%

4
47
33

R + G + B ~ 11%. #042F21 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 47 + 33 = 84 (100%)
R 4 of 84 ~ 4.76%
G 47 of 84 ~ 55.95%
B 33 of 84 ~ 39.29'%

%55.95
%39.29

CMYK color model

#042F21 color CMYK value is (91,0,30,82).

  • cyan value is 91.49%
  • magenta value is 0.00%
  • yellow value is 29.79%
  • key color value is 81.57%

CMYK: (91,0,30,82)
C91M0Y30K82 (91%, 0%, 30%, 82%)
(0.91 / 0.00 / 0.30 / 0.82)

CMYK percentages

%91.49
%0
%29.79
%81.57

Codes

Color #042F21 in popluar color models

04 2F 21
RGB 4 47 33
HSL 160° 84.31% 10.00%
HSB/HSV 160° 91.49% 18.43%
CMYK 91.49% 0.00% 29.79%
81.57%

Color #042F21 in popluar number systems.

HEX 04 2F 21
Decimal 4 47 33
Binary 100 101111 100001
Octal 4 57 41

Shades and tints

Shades of #042F21

#042F21
(4,47,33)
#042B1E
(4,43,30)
#04271B
(4,39,27)
#042318
(4,35,24)
#041F15
(4,31,21)
#041B12
(4,27,18)
#04170F
(4,23,15)
#04130C
(4,19,12)
#040F09
(4,15,9)
#040B06
(4,11,6)
#040703
(4,7,3)
#000000
(0,0,0)

Tints of #042F21

#042F21
(4,47,33)
#1A4135
(26,65,53)
#305349
(48,83,73)
#46655D
(70,101,93)
#5C7771
(92,119,113)
#728985
(114,137,133)
#889B99
(136,155,153)
#9EADAD
(158,173,173)
#B4BFC1
(180,191,193)
#CAD1D5
(202,209,213)
#E0E3E9
(224,227,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042F21 color. Also use rgb(4,47,33) instead hex code.

Text Font Color

.myTextColor { color: #042F21; }

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

This text font color is #042F21.

Background Color

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

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

This div background color is #042F21.

Border color

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

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

This div border color is #042F21.

Opacity

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

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

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

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

This text has shadow with #042F21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #042F21.

Preview

Color preview on black background

This text has color #042F21 on black background.


Color preview on white background

This text has color #042F21 on white background.


Black color preview on #042F21 background

This text has black color on #042F21 background.


White color preview on #042F21 background

This text has white color on #042F21 background.


Related colors

Complementary color

Complementary color for #hex is #FBD0DE.


I love getcolorcode.com

Triadic colors

1 #21042F and #2F2104 with #042F21 are triadic colors.

2 #212F04 and #2F0421 with #042F21 are triadic colors.