HTML

5.6_hextable.html

Nov 18th, 2016
170
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.60 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="author" content="Jacob Howard">
  6. <meta name="description" content="A small demonstration of a hex-color table.">
  7. <meta name="keywords" content="color, html, colorwheel, hexadecimal, milwee">
  8. <link rel="shortcut icon" type="image/png" href="img\favicons\redhex.png">
  9. <link rel="stylesheet" type="text/css" href="css\5.6_hextable.css">
  10. <title>Red Hex Color Table</title>
  11. </head>
  12. <body>
  13. <center>
  14. <div style="width:100%; height:100px;">
  15. <h1>Red Hexadecimal Color Table</h1>
  16. </div>
  17. <br>
  18. <!-- The thin outline to all of the color cells. -->
  19. <table border="1">
  20. <tr>
  21. <!-- The actual box where the color is displayed. -->
  22. <td id="box1" style="background-color:#FF0000;">
  23. <!-- The hyperlink that shows the hexidecimal code that, when clicked on, redirects the user to the color on hailpixel. -->
  24. <p><a target="blank" href="http://color.hailpixel.com/#FF0000,"><button>#FF0000</button></a></p>
  25. </td>
  26. <td id="box2" style="background-color:#C80000;">
  27. <p><a target="blank" href="http://color.hailpixel.com/#C80000,"><button>#C80000</button></a></p>
  28. </td>
  29. <td id="box3" style="background-color:#960000;">
  30. <p><a target="blank" href="http://color.hailpixel.com/#960000,"><button>#960000</button></a></p>
  31. </td>
  32. <td id="box4" style="background-color:#640000;">
  33. <p><a target="blank" href="http://color.hailpixel.com/#640000,"><button>#640000</button></a></p>
  34. </td>
  35. <td id="box5" style="background-color:#320000;">
  36. <p><a target="blank" href="http://color.hailpixel.com/#320000,"><button>#320000</button></a></p>
  37. </td>
  38. </tr>
  39. </table>
  40. </center>
  41. </body>
  42. </html>
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment