COLOR #1240C5

HEX: #1240C5
RGB: (18,64,197)

Color info

#1240C5 contains mainly blue color. Web safe color of #1240C5 is #0033CC (or #03C).

RGB color model

#1240C5 color RGB value is (18,64,197).

  • red value is 18;
  • green value is 64;
  • blue value is 197.
RGB:
(18,64,197)
(7%,25%,77%)

RGB channels and saturation

R 18 of 255 = 7%
G 64 of 255 = 25%
B 197 of 255 = 77%

18
64
197

R + G + B ~ 36%. #1240C5 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 64 + 197 = 279 (100%)
R 18 of 279 ~ 6.45%
G 64 of 279 ~ 22.94%
B 197 of 279 ~ 70.61%

%22.94
%70.61

CMYK color model

#1240C5 color CMYK value is (91,68,0,23).

  • cyan value is 90.86%
  • magenta value is 67.51%
  • yellow value is 0.00%
  • key color value is 22.75%
CMYK:
(91,68,0,23)
C91M68Y0K23 
(91%,68%,0%,23%)
(0.91/0.68/0.00/0.23)	

CMYK percentages

%90.86
%67.51
%0
%22.75

Codes

Color #1240C5 in popluar color models

1240C5
RGB1864197
HSL225°83.26%42.16%
HSB/HSV225°90.86%77.25%
CMYK90.86%67.51%0.00%
22.75%

Color #1240C5 in popluar number systems.

HEX1240C5
Decimal1864197
Binary10010100000011000101
Octal22100305

Shades and tints

Shades of #1240C5

#1240C5
(18,64,197)
#113BB4
(17,59,180)
#1036A3
(16,54,163)
#0F3192
(15,49,146)
#0E2C81
(14,44,129)
#0D2770
(13,39,112)
#0C225F
(12,34,95)
#0B1D4E
(11,29,78)
#0A183D
(10,24,61)
#09132C
(9,19,44)
#080E1B
(8,14,27)
#000000
(0,0,0)

Tints of #1240C5

#1240C5
(18,64,197)
#2751CA
(39,81,202)
#3C62CF
(60,98,207)
#5173D4
(81,115,212)
#6684D9
(102,132,217)
#7B95DE
(123,149,222)
#90A6E3
(144,166,227)
#A5B7E8
(165,183,232)
#BAC8ED
(186,200,237)
#CFD9F2
(207,217,242)
#E4EAF7
(228,234,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1240C5 color. Also use rgb(18,64,197) instead hex code.

Text Font Color

.myTextColor { color: #1240C5; }

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

This text font color is #1240C5.


Background Color

.myBgColor { background-color: #1240C5; }

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

This div background color is #1240C5.


Border color

.myBorderColor { border: 1px solid #1240C5; }

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

This div border color is #1240C5.


Opacity

.myOpacity80 { color: #1240C5; opacity: 0.8; }

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

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

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

This text has shadow with #1240C5 color.

.textShadow {text-shadow: 3px 3px 1px #1240C5, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1240C5 on black background.


Color preview on white background

This text has color #1240C5 on white background.



Black color preview on #1240C5 background

This text has black color on #1240C5 background.


White color preview on #1240C5 background

This text has white color on #1240C5 background.