COLOR #12271B

HEX: #12271B
RGB: (18,39,27)

Color info

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

RGB color model

#12271B color RGB value is (18,39,27).

  • red value is 18;
  • green value is 39;
  • blue value is 27.
RGB:
(18,39,27)
(7%,15%,11%)

RGB channels and saturation

R 18 of 255 = 7%
G 39 of 255 = 15%
B 27 of 255 = 11%

18
39
27

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

Portions of RGB colors in percentages

R + G + B =
18 + 39 + 27 = 84 (100%)
R 18 of 84 ~ 21.43%
G 39 of 84 ~ 46.43%
B 27 of 84 ~ 32.14%

%21.43
%46.43
%32.14

CMYK color model

#12271B color CMYK value is (54,0,31,85).

  • cyan value is 53.85%
  • magenta value is 0.00%
  • yellow value is 30.77%
  • key color value is 84.71%
CMYK:
(54,0,31,85)
C54M0Y31K85 
(54%,0%,31%,85%)
(0.54/0.00/0.31/0.85)	

CMYK percentages

%53.85
%0
%30.77
%84.71

Codes

Color #12271B in popluar color models

12271B
RGB183927
HSL146°36.84%11.18%
HSB/HSV146°53.85%15.29%
CMYK53.85%0.00%30.77%
84.71%

Color #12271B in popluar number systems.

HEX12271B
Decimal183927
Binary1001010011111011
Octal224733

Shades and tints

Shades of #12271B

#12271B
(18,39,27)
#112419
(17,36,25)
#102117
(16,33,23)
#0F1E15
(15,30,21)
#0E1B13
(14,27,19)
#0D1811
(13,24,17)
#0C150F
(12,21,15)
#0B120D
(11,18,13)
#0A0F0B
(10,15,11)
#090C09
(9,12,9)
#080907
(8,9,7)
#000000
(0,0,0)

Tints of #12271B

#12271B
(18,39,27)
#273A2F
(39,58,47)
#3C4D43
(60,77,67)
#516057
(81,96,87)
#66736B
(102,115,107)
#7B867F
(123,134,127)
#909993
(144,153,147)
#A5ACA7
(165,172,167)
#BABFBB
(186,191,187)
#CFD2CF
(207,210,207)
#E4E5E3
(228,229,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12271B color. Also use rgb(18,39,27) instead hex code.

Text Font Color

.myTextColor { color: #12271B; }

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

This text font color is #12271B.


Background Color

.myBgColor { background-color: #12271B; }

<div style="background-color:#12271B">Inner text</div>

This div background color is #12271B.


Border color

.myBorderColor { border: 1px solid #12271B; }

<div style="border:3px solid #12271B">Div</div>

This div border color is #12271B.


Opacity

.myOpacity80 { color: #12271B; opacity: 0.8; }

<p style="color:#12271B;opacity:0.8;">80%</p>

Text with #12271B 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 #12271B;}

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

This text has shadow with #12271B color.

.textShadow {text-shadow: 3px 3px 1px #12271B, 3px 3px 1px red;}

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

This text has shadow with #12271B primary color and red secondary color.


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

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

This text has shadow with #12271B and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12271B on black background.


Color preview on white background

This text has color #12271B on white background.



Black color preview on #12271B background

This text has black color on #12271B background.


White color preview on #12271B background

This text has white color on #12271B background.