COLOR #121256

HEX: #121256 RGB: (18,18,86)

Color info

#121256 contains mainly blue color. Web safe color of #121256 is #000066 (or #006).

RGB color model

#121256 color RGB value is (18,18,86).

RGB: (18,18,86) (7%, 7%, 34%)

RGB channels and saturation

R 18 of 255 = 7%
G 18 of 255 = 7%
B 86 of 255 = 34%

18
18
86

R + G + B ~ 16%. #121256 is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 18 + 86 = 122 (100%)
R 18 of 122 ~ 14.75%
G 18 of 122 ~ 14.75%
B 86 of 122 ~ 70.49'%

%14.75
%14.75
%70.49

CMYK color model

#121256 color CMYK value is (79,79,0,66).

  • cyan value is 79.07%
  • magenta value is 79.07%
  • yellow value is 0.00%
  • key color value is 66.27%

CMYK: (79,79,0,66)
C79M79Y0K66 (79%, 79%, 0%, 66%)
(0.79 / 0.79 / 0.00 / 0.66)

CMYK percentages

%79.07
%79.07
%0
%66.27

Codes

Color #121256 in popluar color models

12 12 56
RGB 18 18 86
HSL 240° 65.38% 20.39%
HSB/HSV 240° 79.07% 33.73%
CMYK 79.07% 79.07% 0.00%
66.27%

Color #121256 in popluar number systems.

HEX 12 12 56
Decimal 18 18 86
Binary 10010 10010 1010110
Octal 22 22 126

Shades and tints

Shades of #121256

#121256
(18,18,86)
#11114F
(17,17,79)
#101048
(16,16,72)
#0F0F41
(15,15,65)
#0E0E3A
(14,14,58)
#0D0D33
(13,13,51)
#0C0C2C
(12,12,44)
#0B0B25
(11,11,37)
#0A0A1E
(10,10,30)
#090917
(9,9,23)
#080810
(8,8,16)
#000000
(0,0,0)

Tints of #121256

#121256
(18,18,86)
#272765
(39,39,101)
#3C3C74
(60,60,116)
#515183
(81,81,131)
#666692
(102,102,146)
#7B7BA1
(123,123,161)
#9090B0
(144,144,176)
#A5A5BF
(165,165,191)
#BABACE
(186,186,206)
#CFCFDD
(207,207,221)
#E4E4EC
(228,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #121256 color. Also use rgb(18,18,86) instead hex code.

Text Font Color

.myTextColor { color: #121256; }

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

This text font color is #121256.

Background Color

.myBgColor { background-color: #121256; }

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

This div background color is #121256.

Border color

.myBorderColor { border: 1px solid #121256; }

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

This div border color is #121256.

Opacity

.myOpacity80 { color: #121256; opacity: 0.8; }

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

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

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

This text has shadow with #121256 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #121256.

Preview

Color preview on black background

This text has color #121256 on black background.


Color preview on white background

This text has color #121256 on white background.


Black color preview on #121256 background

This text has black color on #121256 background.


White color preview on #121256 background

This text has white color on #121256 background.


Related colors

Complementary color

Complementary color for #hex is #EDEDA9.


I love getcolorcode.com