lahaontheweb.blogg.se

Notepad++ change font color of selected text
Notepad++ change font color of selected text









As a basic example, #ff0000 = bright red, #00ff00 = bright green, and #0000ff = bright blue. The code applies the RGB (red, green, blue) color system where the first two digits control red, the second two digits control green and the last two digits control blue. The hexadecimal color code is basically just a six-digit code using any number from 0 to 9 or any letter from A through F (case insensitive). However if you want a much wider range of colors to choose from, color values can also be represented using hexadecimal color codes (which must be preceded by a hash mark '#') which allows you to choose from among potentially 16 million color definitions as opposed to just 140. Click on any swatch to select that color.

notepad++ change font color of selected text notepad++ change font color of selected text

Hover over the color swatches in the color chart on the left to view color names. Hence any of these colors may be used in your HTML font color codes.

notepad++ change font color of selected text

Any of these color names can be used to define colors in HTML, CSS and/or Javascript. Well, for your convenience, I've constructed an interactive color chart below displaying all of the official color names in the so-called X11 color list that can be used in web page code. And of course now you must be wondering what all the official color names are.











Notepad++ change font color of selected text