Skip to content

Commit

Permalink
Add tutorial content
Browse files Browse the repository at this point in the history
  • Loading branch information
jiffyclub committed Jul 9, 2018
1 parent 9ac2f1f commit a5dcedc
Show file tree
Hide file tree
Showing 2 changed files with 2,058 additions and 2 deletions.
103 changes: 102 additions & 1 deletion Colors.ipynb
Expand Up @@ -16,7 +16,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,6 +37,107 @@
"</ul>"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"show_color?"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"height: 60px; min-width: 200px; background-color: rgb(100, 250, 93)\"></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"show_color(100, 250, 93)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"height: 60px; min-width: 200px; background-color: rgb(0, 23, 187)\"></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"show_color(0, 23, 187)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<iframe src=\"http://www.colorpicker.com/\" width=\"100%\" height=\"550px\"></iframe>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"embed_colorpicker()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"height: 60px; min-width: 200px; background-color: rgb(23, 23, 123)\"></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"red = 23\n",
"green = 23\n",
"blue = 123\n",
"\n",
"show_color(red, green, blue)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit a5dcedc

Please sign in to comment.