How to use HTML color codes? - Maggotty High CAPE IT
NOTESMarch 2014Cape IT UNIT 2 Mod 2 SO 13 Construct web pagesDesign, code, construct web pages using HTML, authoring tools, Hyperlinks Website: HTML NOTESThis HTML tutorial contains hundreds of HTML examples.With our online HTML editor, you can edit the HTML, and click on a button to view the result.<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>Example ExplainedThe DOCTYPE declaration defines the document typeThe text between <html> and </html> describes the web pageThe text between <body> and </body> is the visible page contentThe text between <h1> and </h1> is displayed as a headingThe text between <p> and </p> is displayed as a paragraphWhat is HTML?HTML is a language for describing web pages.HTML stands for?Hyper?Text?Markup?LanguageHTML is a?markup?languageA markup language is a set of markup?tagsThe tags?describe?document contentHTML documents contain?HTML?tags?and plain?textHTML documents are also called?web pagesHTML TagsHTML markup tags are usually called HTML tagsHTML tags are keywords (tag names) surrounded by?angle brackets?like <html>HTML tags normally?come in pairs?like <b> and </b>The first tag in a pair is the?start tag,?the second tag is the?end tagThe end tag is written like the start tag, with a?forward slash?before the tag nameStart and end tags are also called?opening tags?and?closing tags<tagname>content</tagname>HTML Elements"HTML tags" and "HTML elements" are often used to describe the same thing.But strictly speaking, an HTML element is everything between the start tag and the end tag, including the tags:HTML Element:<p>This is a paragraph.</p>Web BrowsersThe purpose of a web browser (such as Google Chrome, Internet Explorer, Firefox, Safari) is to read HTML documents and display them as web pages.The browser does not display the HTML tags, but uses the tags to determine how the content of the HTML page is to be presented/displayed to the user:HTML Page StructureBelow is a visualization of an HTML page structure:<html><body><h1>This a heading</h1><p>This is a paragraph.</p><p>This is another paragraph.</p></body></html>Writing HTML Using Notepad or TextEditHTML can be edited by using a professional HTML editor like:Adobe DreamweaverMicrosoft Expression WebCoffeeCup HTML EditorHowever, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML.Follow the 4 steps below to create your first web page with Notepad.Step 1: Start NotepadTo start Notepad go to:Start??? All Programs??????? Accessories??????????? NotepadStep 2: Edit Your HTML with NotepadType your HTML code into your Notepad:Step 3: Save Your HTMLSelect?Save as..?in Notepad's file menu.When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you.Save the file in a folder that is easy to remember, like?w3schools.Step 4: Run the HTML in Your BrowserStart your web browser and open your html file from the?File,?Open?menu, or just browse the folder and double-click your HTML file.The result should look much like this:HTML HeadingsHTML headings are defined with the <h1> to <h6> tags.Example<h1>This is a heading</h1><h2>This is a heading</h2><h3>This is a heading</h3>Try it yourself ?HTML ParagraphsHTML paragraphs are defined with the <p> tag.Example<p>This is a paragraph.</p><p>This is another paragraph.</p>Try it yourself ?HTML LinksHTML links are defined with the <a> tag.Example<a href="">This is a link</a>Try it yourself ?Note:?The link address is specified in the href attribute.(You will learn about attributes in a later chapter of this tutorial).HTML ImagesHTML images are defined with the <img> tag.Example<img src="w3schools.jpg" alt="" width="104" height="142">Try it yourself ?Note:?The filename and the size of the image are provided as attributes.HTML ElementsAn HTML element is everything from the start tag to the end tag:Start tag *Element contentEnd tag *<p>This is a paragraph</p><a href="default.htm">This is a link</a><br>??*?The start tag is often called the?opening tag. The end tag is often called the?closing tag.HTML Element SyntaxAn HTML element starts with a?start tag / opening tagAn HTML element ends with an?end tag / closing tagThe?element content?is everything between the start and the end tagSome HTML elements have?empty contentEmpty elements are?closed in the start tagMost HTML elements can have?attributesTip:?You will learn about attributes in the next chapter of this tutorial.Nested HTML ElementsMost HTML elements can be nested (can contain other HTML elements).HTML documents consist of nested HTML elements.HTML Document Example<!DOCTYPE html><html><body><p>This is my first paragraph.</p></body></html>The example above contains 3 HTML elements.HTML Example ExplainedThe <p> element:<p>This is my first paragraph.</p>The <p> element defines a paragraph in the HTML document.The element has a start tag <p> and an end tag </p>.The element content is: This is my first paragraph.The <body> element:<body><p>This is my first paragraph.</p></body>The <body> element defines the body of the HTML document.The element has a start tag <body> and an end tag </body>.The element content is another HTML element (a p element).The <html> element:<html><body><p>This is my first paragraph.</p></body></html>The <html> element defines the whole HTML document.The element has a start tag <html> and an end tag </html>.The element content is another HTML element (the body element).Don't Forget the End TagSome HTML elements might display correctly even if you forget the end tag:<p>This is a paragraph<p>This is a paragraphThe example above works in most browsers, because the closing tag is considered optional.Never rely on this. Many HTML elements will produce unexpected results and/or errors if you forget the end tag .Empty HTML ElementsHTML elements with no content are called empty elements.<br> is an empty element without a closing tag (the <br> tag defines a line break).Tip:?In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of closing empty elements in XHTML (and XML).HTML Tip: Use Lowercase TagsHTML tags are not case sensitive: <P> means the same as <p>. Many web sites use uppercase HTML tags.W3Schools use lowercase tags because the World Wide Web Consortium (W3C)?recommends?lowercase in HTML 4, and demands?lowercase tags in XHTML.HTML AttributesHTML elements can have?attributesAttributes provide?additional information?about an elementAttributes are always specified in?the start tagAttributes come in name/value pairs like:?name="value"Attribute ExampleHTML links are defined with the <a> tag. The link address is specified in the?href attribute:Example<a href="">This is a link</a>Try it yourself ?Always Quote Attribute ValuesAttribute values should always be enclosed in quotes.Double style quotes are the most common, but single style quotes are also allowed.Tip:?In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson'HTML Tip: Use Lowercase AttributesAttribute names and attribute values are case-insensitive.However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation.Newer versions of (X)HTML will demand lowercase attributes.HTML Attributes ReferenceA complete list of legal attributes for each HTML element is listed in our:?HTML Tag Reference.Below is a list of some attributes that can be used on any HTML element:AttributeDescriptionclassSpecifies one or more class names for an element (refers to a class in a style sheet)idSpecifies a unique id for an elementstyleSpecifies an inline CSS style for an elementtitleSpecifies extra information about an element (displayed as a tool tip)How to use HTML color codes?With?HTML color codes?you can set the color of web site background, color of text, cells in tables and much more.Using HTML color codes for web site background color:<body style="background:#80BFFF">Using HTML color codes for setting font/text color:<span style="color:#80BFFF">Using HTML color codes for table background color:<table style="background:#80BFFF">Using HTML color code for link color:<a style="color:#80BFFF"> Color Codes TheorySo you are wondering "Does this weird combination of letters and numbers have any meaning?" Well the answer is "Yes" and this is how it goes:)?HTML Codes format:?Each HTML code contains symbol "#" and 6 letters or numbers. These numbers are in hexadecimal numeral system. For example "FF" in hexadecimal represents number 255 in Decimal.Meaning of symbols:?The first two symbols in HTML color code represents the intensity of?red?color. 00 is the least and FF is the most intense. The third and fourth represents intensity of?green?and fifth and sixth represents the intensity of?blue. So with combining the intensity of red, green and blue we can mix almost any color that our heart desire;)?Examples:?#FF0000?- With this HTML code we tell browser to show maximum of red and no green and no blue. The result is of course pure red color:??????#00FF00?- This HTML code shows just green and no red and blue. The result is:??????#0000FF?- This HTML code shows just blue and no red and green. The result is:??????#FFFF00?- Combination of red and green color gives us yellow:??????#CCEEFF?- Take some red a bit more of green and maximum of blue to get color of sky:?????? Backgrounds for the Whole PageTo set the background properties for the whole page, simply apply the property/properties to the?body?element.<html><head></head><body style="background-color:#eeeeee;">...content goes here...</body><html><body style="background-color:#c0c0c0;"<font color="green"><center><h1><font size="15"> SUZI'S FLOWER POT </h1></center></font></font size><body> TextThis page contains HTML code for creating scrolling text.You can create scrolling text in HTML using?<marquee>?tags. You can make your text scroll from right to left. You can make it scroll left to right. You can make it bounce back and forth. You can make it scroll up or down. You can even make your text zoom in from the side and stay in the same place.Usability of MarqueesYou should be careful when using marquees in HTML. Many web users dislike websites that contain scrolling text and other elements, so try to use them tastefully :)Also note that the?<marquee>?tag is not part of the official HTML specification. Having said that, it is recognized by most major browsers.More Marquee CodesYou can do much more with HTML marquees than is covered on this page. Here's the full list of marquee codes on this website:Scrolling Text Slide-In Text Bouncing Text Scrolling Image Slide-In Image Bouncing Image ParagraphsParagraphs are defined with the <p> tag.Example<p>This is a paragraph</p><p>This is another paragraph</p>Try it yourself ?Note:?Browsers automatically add an empty line before and after a paragraph.Don't Forget the End TagMost browsers will display HTML correctly even if you forget the end tag:Example<p>This is a paragraph<p>This is another paragraphTry it yourself ?The example above will work in most browsers, but don't rely on it. Forgetting the end tag can produce unexpected results or errors.Note:?Future version of HTML will not allow you to skip end tags.HTML Line BreaksUse the <br> tag if you want a line break (a new line) without starting a new paragraph:Example<p>This is<br>a para<br>graph with line breaks</p>Try it yourself ?The <br> element is an empty HTML element. It has no end tag.HTML Output - Useful TipsYou cannot be sure how HTML will be displayed. Large or small screens, and resized windows will create different results.With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.The browser will remove extra spaces and extra lines when the page is displayed. Any number of lines count as one line, and any number of spaces count as one space.Try it yourself(The example demonstrates some HTML formatting problems)Examples from this pageHTML paragraphsHow HTML paragraphs are displayed in a browser.Line breaksThe use of line breaks in an HTML document.Poem problemsSome problems with HTML formatting.More ExamplesMore paragraphsThe default behaviors of paragraphs.HTML Tag ReferenceW3Schools' tag reference contains additional information about HTML elements and their attributes.TagDescription<p>Defines a paragraph<br>Inserts a single line breakHTML Text FormattingThis text is boldThis text is italicThis is computer outputThis is?subscript?and?superscriptTry it yourself ?HTML Formatting TagsHTML uses tags like <b> and <i> for formatting output, like?bold?or?italic?text.These HTML tags are called formatting tags (look at the bottom of this page for a complete reference).Often <strong> renders as <b>, and <em> renders as <i>.However, there is a difference in the meaning of these tags:<b> or <i> defines bold or italic text only.<strong> or <em> means that you want the text to be rendered in a way that the user understands as "important". Today, all major browsers render strong as bold and em as italics. However, if a browser one day wants to make a text highlighted with the strong feature, it might be cursive for example and not bold!Try it Yourself - ExamplesText formattingHow to format text in an HTML document.Preformatted textHow to control the line breaks and spaces with the pre tag."Computer output" tagsHow different "computer output" tags will be displayed.AddressHow to define contact information for the author/owner of an HTML document.Abbreviations and acronymsHow to handle abbreviations and acronyms.Text directionHow to change the text direction.QuotationsHow to handle long and short quotations.Deleted and inserted textHow to mark deleted and inserted text.Marked/Highlighted textHow to mark/highlight text.HTML Text Formatting TagsTagDescription<b>Defines bold text<em>Defines emphasized text?<i>Defines a part of text in an alternate voice or mood<small>Defines smaller text<strong>Defines important text<sub>Defines subscripted text<sup>Defines superscripted text<ins>Defines inserted text<del>Defines deleted text<mark>Defines marked/highlighted textHTML "Computer Output" TagsTagDescription<code>Defines computer code text<kbd>Defines keyboard text?<samp>Defines sample computer code<var>Defines a variable<pre>Defines preformatted textHTML Citations, Quotations, and Definition TagsTagDescription<abbr>Defines an abbreviation or acronym<address>Defines contact information for the author/owner of a document<bdo>Defines the text direction<blockquote>Defines a section that is quoted from another source<q>Defines an inline (short) quotation<cite>Defines the title of a work<dfn>Defines a definition termHTML Comment TagsYou can add comments to your HTML source by using the following syntax:<!-- Write your comments here -->Note:?There is an exclamation point (!) in the opening tag, but not in the closing ments are not displayed by the browser, but they can help document your HTML.With comments you can place notifications and reminders in your HTML:Example<!-- This is a comment --><p>This is a paragraph.</p><!-- Remember to add more information here -->Try it yourself ?Comments are also great for debugging HTML, because you can comment out HTML lines of code, one at a time, to search for errors:Example<!-- Do not display this at the moment<img border="0" src="/images/pulpit.jpg" alt="Pulpit rock" width="304" height="228">-->Try it yourself ?Software Program TagsHTML comments tags can also be generated by various HTML software programs.For example the <!--webbot bot--> tags which are wrapped inside HTML comments by FrontPage.As a rule, let these tags stay, to help support the software.Conditional CommentsOnly Internet Explorer recognizes conditional comments.Conditional comments enable you to add a browser specific code that executes only if the browser is IE but is treated as a comment by other browsers.You can add conditional comments to your HTML document by using the following syntax:Example<!--[if IE 5]>This is IE 5<br><![endif]--><!--[if IE 6]>This is IE 6<br><![endif]--><!--[if IE 7]>This is IE 7<br><![endif]--><!--[if IE 8]>This is IE 8<br><![endif]--><!--[if IE 9]>This is IE 9<br><![endif]-->HTML Hyperlinks (Links)The HTML <a> tag defines a hyperlink.A hyperlink (or link) is a word, group of words, or image that you can click on to jump to another document.When you move the cursor over a link in a Web page, the arrow will turn into a little hand.The most important attribute of the <a> element is the href attribute, which indicates the link's destination.By default, links will appear as follows in all browsers:An unvisited link is underlined and blueA visited link is underlined and purpleAn active link is underlined and redHTML Link SyntaxThe HTML code for a link is simple. It looks like this:<a href="url">Link text</a>The href attribute specifies the destination of a link.Example<a href="">Visit W3Schools</a>which will display like this:?Visit W3SchoolsClicking on this hyperlink will send the user to W3Schools' homepage.Tip:?The "Link text" doesn't have to be text. It can be an image or any other HTML element.HTML Links - The target AttributeThe target attribute specifies where to open the linked document.The example below will open the linked document in a new browser window or a new tab:Example<a href="" target="_blank">Visit W3Schools!</a>Try it yourself ?HTML Links - The id AttributeThe id attribute can be used to create a bookmark inside an HTML document.Tip:?Bookmarks are not displayed in any special way. They are invisible to the reader.ExampleAn anchor with an id inside an HTML document:<a id="tips">Useful Tips Section</a>Create a link to the "Useful Tips Section" inside the same document:<a href="#tips">Visit the Useful Tips Section</a>Or, create a link to the "Useful Tips Section" from another page:<a href="">Visit the Useful Tips Section</a>Basic Notes - Useful TipsNote:?Always add a trailing slash to subfolder references. If you link like this: href="", you will generate two requests to the server, the server will first add a slash to the address, and then create a new request like this: href="".Norwegian Mountain TripTry it yourself ?Try it Yourself - ExamplesInsert imagesHow to insert images into an HTML document.Insert images from different locationsHow to insert an image from another folder or another server.(You can find more examples at the bottom of this page).HTML Images - The <img> Tag and the Src AttributeIn HTML, images are defined with the <img> tag.The <img> tag?is empty, which means that it contains attributes only, and has no closing tag.To display an image on a page, you need to use the src attribute. Src stands for "source". The value of the src attribute is the URL of the image you want to display.Syntax for defining an image:<img src="url" alt="some_text">The URL points to the location where the image is stored. An image named "boat.gif", located in the "images" directory on "" has the URL: browser displays the image where the <img> tag occurs in the document. If you put an image tag between two paragraphs, the browser shows the first paragraph, then the image, and then the second paragraph.HTML Images - The Alt AttributeThe required alt attribute specifies an alternate text for an image, if the image cannot be displayed.The value of the alt attribute is an author-defined text:<img src="smiley.gif" alt="Smiley face">The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).HTML Images - Set Height and Width of an ImageThe height and width attributes are used to specify the height and width of an image.The attribute values are specified in pixels by default:<img src="smiley.gif" alt="Smiley face" width="42" height="42">Tip:?It is a good practice to specify both the height and width attributes for an image. If these attributes are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image. The effect will be that the page layout will change during loading (while the images load).Basic Notes - Useful TipsNote:?If an HTML file contains ten images - eleven files are required to display the page right. Loading images takes time, so my best advice is: Use images carefully.Note:?When a web page is loaded, it is the browser, at that moment, that actually gets the image from a web server and inserts it into the page. Therefore, make sure that the images actually stay in the same spot in relation to the web page, otherwise your visitors will get a broken link icon. The broken link icon is shown if the browser cannot find the image.HTML Table Example:FirstnameLastnamePointsJillSmith50EveJackson94JohnDoe80AdamJohnson67Try it Yourself - ExamplesBasic HTML tablesHow to create basic tables in HTML.A table with bordersHow to add borders to a table.A table with collapsed bordersHow to make the borders collapse.(You can find more examples at the bottom of this page).HTML TablesTables are defined with the?<table>?tag.A table is divided into rows with the?<tr>?tag. (tr stands for table row)A row is divided into data cells with the?<td>?tag. (td stands for table data)A row can also be divided into headings with the?<th>?tag. (th stands for table heading)The <td> elements are the data containers in the table.The <td> elements can contain all sorts of HTML elements like text, images, lists, other tables, etc.The width of a table can be defined using CSS.Example<table style="width:300px"><tr>? <td>Jill</td>? <td>Smith</td>?? <td>50</td></tr><tr>? <td>Eve</td>? <td>Jackson</td>?? <td>94</td></tr></table>Try it yourself ?An HTML Table with a Border AttributeIf you do not specify a border for the table, it will be displayed without borders.A border can be added using the border attribute:Example<table border="1" style="width:300px"><tr>? <td>Jill</td>? <td>Smith</td>?? <td>50</td></tr><tr>? <td>Eve</td>? <td>Jackson</td>?? <td>94</td></tr></table>Try it yourself ?However, the border attribute is on its way out of the HTML standard!It is better to use CSS.To add borders with CSS, use the border property:Example<style>table,th,td{border:1px solid black;}</style>Try it yourself ?Remember to define borders for both the table and the table cells.An HTML Table with Collapsed BordersIf you want the borders to collapse into one border, add border-collapse to your CSS:Example<style>table,th,td{border:1px solid black;border-collapse:collapse}</style>Try it yourself ?An HTML Table with Cell PaddingCell padding specifies the space between the cell content and its borders.If you do not specify a padding, the table cells will be displayed without padding.To set the padding, use the CSS padding property:Exampleth,td{padding:15px;}Try it yourself ?HTML Table HeadingsTable headings are defined with the <th> tag.By default, all major browsers display table headings as bold and centered:Example<table style="width:300px"><tr>? <th>Firstname</th>? <th>Lastname</th>?? <th>Points</th></tr><tr>? <td>Eve</td>? <td>Jackson</td>?? <td>94</td></tr></table>Try it yourself ?To left-align the table headings, use the CSS text-align property:Exampleth{text-align:left;}Try it yourself ?An HTML Table with Cell SpacingCell spacing specifies the space between the cells.To set the cell spacing for the table, use the CSS border-spacing property:Exampletable{border-spacing:5px;}Try it yourself ?More ExamplesHorizontal/Vertical table headingsHow to create horizontal/vertical table headings.Table with a captionHow to add a caption to a table.Table cells that span more than one row/columnHow to define table cells that span more than one row or one column.Tags inside a tableHow to display elements inside other elements.HTML Table TagsTagDescription<table>Defines a table<th>Defines a header cell in a table<tr>Defines a row in a table<td>Defines a cell in a table<caption>Defines a table caption<colgroup>Specifies a group of one or more columns in a table for formatting<col>Specifies column properties for each column within a <colgroup> element<thead>Groups the header content in a table<tbody>Groups the body content in a table<tfoot>Groups the footer content in a tableThe most common HTML lists are ordered and unordered lists:HTML ListsAn ordered list:The first list itemThe second list itemThe third list itemAn unordered list:List itemList itemList itemTry-It-Yourself ExamplesUnordered listHow to create an unordered list in an HTML document.Ordered listHow to create an ordered list in an HTML document.(You can find more examples at the bottom of this page).HTML Unordered ListsAn unordered list starts with the <ul> tag. Each list item starts with the <li> tag.The list items are marked with bullets (typically small black circles).<ul><li>Coffee</li><li>Milk</li></ul>How the HTML code above looks in a browser:CoffeeMilkHTML Ordered ListsAn ordered list starts with the <ol> tag. Each list item starts with the <li> tag.The list items are marked with numbers.<ol><li>Coffee</li><li>Milk</li></ol>How the HTML code above looks in a browser:CoffeeMilkHTML Description ListsA description list is a list of terms/names, with a description of each term/name.The <dl> tag defines a description list.The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name):<dl><dt>Coffee</dt><dd>- black hot drink</dd><dt>Milk</dt><dd>- white cold drink</dd></dl>How the HTML code above looks in a browser:Coffee- black hot drinkMilk- white cold drinkBasic Notes - Useful TipsTip:?Inside a list item you can put text, line breaks, images, links, other lists, etc.More ExamplesDifferent types of ordered listsDemonstrates different types of ordered lists.Different types of unordered listsDemonstrates different types of unordered lists.Nested listDemonstrates how you can nest lists.Nested list 2Demonstrates a more complicated nested list.Description listDemonstrates a definition list.HTML List TagsTagDescription<ol>Defines an ordered list<ul>Defines an unordered list<li>Defines a list item<dl>Defines a description list<dt>Defines a term/name in a description list<dd>Defines a description of a term/name in a description listColors are displayed combining RED, GREEN, and BLUE light.Color ValuesCSS colors are defined using a hexadecimal (hex) notation for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one of the light sources is 0 (hex 00). The highest value is 255 (hex FF).Hex values are written as 3 double digit numbers, starting with a # sign.Color ExamplesColorColor HEXColor RGB?#000000rgb(0,0,0)?#FF0000rgb(255,0,0)?#00FF00rgb(0,255,0)?#0000FFrgb(0,0,255)?#FFFF00rgb(255,255,0)?#00FFFFrgb(0,255,255)?#FF00FFrgb(255,0,255)?#C0C0C0rgb(192,192,192)?#FFFFFFrgb(255,255,255)Try it yourself ?16 Million Different ColorsThe combination of Red, Green and Blue values from 0 to 255 gives a total of more than 16 million different colors to play with (256 x 256 x 256).Most modern monitors are capable of displaying at least 16384 different colors.If you look at the color table below, you will see the result of varying the red light from 0 to 255, while keeping the green and blue light at zero.To see a full list of color mixes when the red light varies from 0 to 255, click on one of the hex or rgb values below.Red LightHEXRGB?#000000?rgb(0,0,0)??#080000?rgb(8,0,0)??#100000?rgb(16,0,0)??#180000?rgb(24,0,0)??#200000?rgb(32,0,0)??#280000?rgb(40,0,0)??#300000?rgb(48,0,0)??#380000?rgb(56,0,0)??#400000?rgb(64,0,0)??#480000?rgb(72,0,0)??#500000?rgb(80,0,0)??#580000?rgb(88,0,0)??#600000?rgb(96,0,0)??#680000?rgb(104,0,0)??#700000?rgb(112,0,0)??#780000?rgb(120,0,0)??#800000?rgb(128,0,0)??#880000?rgb(136,0,0)??#900000?rgb(144,0,0)??#980000?rgb(152,0,0)??#A00000?rgb(160,0,0)??#A80000?rgb(168,0,0)??#B00000?rgb(176,0,0)??#B80000?rgb(184,0,0)??#C00000?rgb(192,0,0)??#C80000?rgb(200,0,0)??#D00000?rgb(208,0,0)??#D80000?rgb(216,0,0)??#E00000?rgb(224,0,0)??#E80000?rgb(232,0,0)??#F00000?rgb(240,0,0)??#F80000?rgb(248,0,0)??#FF0000?rgb(255,0,0)?Shades of GrayGray colors are displayed using an equal amount of power to all of the light sources. To make it easier for you to select the right gray color we have compiled a table of gray shades for you:Gray ShadesHEXRGB?#000000?rgb(0,0,0)??#080808?rgb(8,8,8)??#101010?rgb(16,16,16)??#181818?rgb(24,24,24)??#202020?rgb(32,32,32)??#282828?rgb(40,40,40)??#303030?rgb(48,48,48)??#383838?rgb(56,56,56)??#404040?rgb(64,64,64)??#484848?rgb(72,72,72)??#505050?rgb(80,80,80)??#585858?rgb(88,88,88)??#606060?rgb(96,96,96)??#686868?rgb(104,104,104)??#707070?rgb(112,112,112)??#787878?rgb(120,120,120)??#808080?rgb(128,128,128)??#888888?rgb(136,136,136)??#909090?rgb(144,144,144)??#989898?rgb(152,152,152)??#A0A0A0?rgb(160,160,160)??#A8A8A8?rgb(168,168,168)??#B0B0B0?rgb(176,176,176)??#B8B8B8?rgb(184,184,184)??#C0C0C0?rgb(192,192,192)??#C8C8C8?rgb(200,200,200)??#D0D0D0?rgb(208,208,208)??#D8D8D8?rgb(216,216,216)??#E0E0E0?rgb(224,224,224)??#E8E8E8?rgb(232,232,232)??#F0F0F0?rgb(240,240,240)??#F8F8F8?rgb(248,248,248)??#FFFFFF?rgb(255,255,255)?Web Safe Colors?Some years ago, when computers supported max 256 different colors, a list of 216 "Web Safe Colors" was suggested as a Web standard, reserving 40 fixed system colors.This is not important now, since most computers can display millions of different colors, but the choice is left to you.The 216 cross-browser color palette was created to ensure that all computers would display the colors correctly when running a 256 color palette:0000000000330000660000990000CC0000FF0033000033330033660033990033CC0033FF0066000066330066660066990066CC0066FF0099000099330099660099990099CC0099FF00CC0000CC3300CC6600CC9900CCCC00CCFF00FF0000FF3300FF6600FF9900FFCC00FFFF3300003300333300663300993300CC3300FF3333003333333333663333993333CC3333FF3366003366333366663366993366CC3366FF3399003399333399663399993399CC3399FF33CC0033CC3333CC6633CC9933CCCC33CCFF33FF0033FF3333FF6633FF9933FFCC33FFFF6600006600336600666600996600CC6600FF6633006633336633666633996633CC6633FF6666006666336666666666996666CC6666FF6699006699336699666699996699CC6699FF66CC0066CC3366CC6666CC9966CCCC66CCFF66FF0066FF3366FF6666FF9966FFCC66FFFF9900009900339900669900999900CC9900FF9933009933339933669933999933CC9933FF9966009966339966669966999966CC9966FF9999009999339999669999999999CC9999FF99CC0099CC3399CC6699CC9999CCCC99CCFF99FF0099FF3399FF6699FF9999FFCC99FFFFCC0000CC0033CC0066CC0099CC00CCCC00FFCC3300CC3333CC3366CC3399CC33CCCC33FFCC6600CC6633CC6666CC6699CC66CCCC66FFCC9900CC9933CC9966CC9999CC99CCCC99FFCCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFFCCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFFFF0000FF0033FF0066FF0099FF00CCFF00FFFF3300FF3333FF3366FF3399FF33CCFF33FFFF6600FF6633FF6666FF6699FF66CCFF66FFFF9900FF9933FF9966FF9999FF99CCFF99FFFFCC00FFCC33FFCC66FFCC99FFCCCCFFCCFFFFFF00FFFF33FFFF66FFFF99FFFFCCFFFFFF ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- instructions on how to use baking soda to pass a drug test
- how to use money to make money
- how to use baking soda to pass drug test
- how to use to the utmost
- how to use excel to calculate
- how to code html javascript
- how to open html file
- how to use microsoft to do
- how to use to do
- how to use xcopy to backup files
- how to change background color of windows
- photoshop how to make a color transparent