COLOR #2A1118

HEX: #2A1118
RGB: (42,17,24)

Color info

#2A1118 contains red, green and blue colors in about the same proportion. Web safe color of #2A1118 is #330000 (or #300).

RGB color model

#2A1118 color RGB value is (42,17,24).

  • red value is 42;
  • green value is 17;
  • blue value is 24.
RGB:
(42,17,24)
(16%,7%,9%)

RGB channels and saturation

R 42 of 255 = 16%
G 17 of 255 = 7%
B 24 of 255 = 9%

42
17
24

R + G + B ~ 11%. #2A1118 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 17 + 24 = 83 (100%)
R 42 of 83 ~ 50.6%
G 17 of 83 ~ 20.48%
B 24 of 83 ~ 28.92%

%50.6
%20.48
%28.92

CMYK color model

#2A1118 color CMYK value is (0,60,43,84).

  • cyan value is 0.00%
  • magenta value is 59.52%
  • yellow value is 42.86%
  • key color value is 83.53%
CMYK:
(0,60,43,84)
C0M60Y43K84 
(0%,60%,43%,84%)
(0.00/0.60/0.43/0.84)	

CMYK percentages

%0
%59.52
%42.86
%83.53

Codes

Color #2A1118 in popluar color models

2A1118
RGB421724
HSL343°42.37%11.57%
HSB/HSV343°59.52%16.47%
CMYK0.00%59.52%42.86%
83.53%

Color #2A1118 in popluar number systems.

HEX2A1118
Decimal421724
Binary1010101000111000
Octal522130

Shades and tints

Shades of #2A1118

#2A1118
(42,17,24)
#271016
(39,16,22)
#240F14
(36,15,20)
#210E12
(33,14,18)
#1E0D10
(30,13,16)
#1B0C0E
(27,12,14)
#180B0C
(24,11,12)
#150A0A
(21,10,10)
#120908
(18,9,8)
#0F0806
(15,8,6)
#0C0704
(12,7,4)
#000000
(0,0,0)

Tints of #2A1118

#2A1118
(42,17,24)
#3D262D
(61,38,45)
#503B42
(80,59,66)
#635057
(99,80,87)
#76656C
(118,101,108)
#897A81
(137,122,129)
#9C8F96
(156,143,150)
#AFA4AB
(175,164,171)
#C2B9C0
(194,185,192)
#D5CED5
(213,206,213)
#E8E3EA
(232,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A1118 color. Also use rgb(42,17,24) instead hex code.

Text Font Color

.myTextColor { color: #2A1118; }

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

This text font color is #2A1118.


Background Color

.myBgColor { background-color: #2A1118; }

<div style="background-color:#2A1118">Inner text</div>

This div background color is #2A1118.


Border color

.myBorderColor { border: 1px solid #2A1118; }

<div style="border:3px solid #2A1118">Div</div>

This div border color is #2A1118.


Opacity

.myOpacity80 { color: #2A1118; opacity: 0.8; }

<p style="color:#2A1118;opacity:0.8;">80%</p>

Text with #2A1118 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 #2A1118;}

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

This text has shadow with #2A1118 color.

.textShadow {text-shadow: 3px 3px 1px #2A1118, 3px 3px 1px red;}

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

This text has shadow with #2A1118 primary color and red secondary color.


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

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

This text has shadow with #2A1118 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A1118 on black background.


Color preview on white background

This text has color #2A1118 on white background.



Black color preview on #2A1118 background

This text has black color on #2A1118 background.


White color preview on #2A1118 background

This text has white color on #2A1118 background.