Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created December 29, 2010 01:47
Show Gist options
  • Save funkatron/758033 to your computer and use it in GitHub Desktop.
Save funkatron/758033 to your computer and use it in GitHub Desktop.
Commodor 64 RGB colors in an HTML page
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Page Title</title>
<style type="text/css" media="screen">
/*
* #000000 black
* #FFFFFF white
* #68372B red
* #70A4B2 light blue
* #6F3D86 purple
* #588D43 green
* #352879 dark blue
* #B8C76F yellow
* #6F4F25 brown
* #433900 dark brown
* #9A6759 light red
* #444444 dark grey
* #6C6C6C mid grey
* #9AD284 light green
* #6C5EB5 mid blue
* #959595 light grey
*/
div {
height:24px;
}
</style>
</head>
<body>
<div style="background-color:#000000"></div>
<div style="background-color:#FFFFFF"></div>
<div style="background-color:#68372B"></div>
<div style="background-color:#70A4B2"></div>
<div style="background-color:#6F3D86"></div>
<div style="background-color:#588D43"></div>
<div style="background-color:#352879"></div>
<div style="background-color:#B8C76F"></div>
<div style="background-color:#6F4F25"></div>
<div style="background-color:#433900"></div>
<div style="background-color:#9A6759"></div>
<div style="background-color:#444444"></div>
<div style="background-color:#6C6C6C"></div>
<div style="background-color:#9AD284"></div>
<div style="background-color:#6C5EB5"></div>
<div style="background-color:#959595"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment