Skip to content

Commit

Permalink
update numeral systems demo b00tc4mp#51
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbarzi committed Jun 18, 2024
1 parent 968b9d4 commit 99e03d0
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
25 changes: 25 additions & 0 deletions stuff/maths/numeral-systems/colors-demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>

<style>
body {
/* background-color: red; */
/* background-color: #FF0000; */
/* background-color: rgb(255, 0, 0); */
background-color: rgb(255 0 0);
/* background-color: rgb(100%, 0%, 0%); */
/* background-color: rgb(100% 0% 0%); */
}
</style>
</head>

<body>
<h1>hello colors</h1>
</body>

</html>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,13 @@ DEC BIN TERNARY OCTAL HEX
14 1110 112 16 E
15 1111 120 17 F
16 10000 121 20 10
...
...


R G B
0-255 0-255 0-255 DEC
0000 0000 - 1111 1111 0000 0000 - 1111 1111 0000 0000 - 1111 1111 BIN
0 0 - F F 0 0 - F F 0 0 - F F HEX

CSS
color: #FF0000 | red | rgb(255, 0, 0)

0 comments on commit 99e03d0

Please sign in to comment.