A prerequisite to playing with
ipythonblocks is understanding how RGB colors work. To make it easy for students to experiment with different combinations of RGB
ipythonblocks includes a
show_color function that just shows a big stripe of a given color.
from ipythonblocks import show_color, embed_colorpicker
show_color(12, 123, 234)
If students are expected to have an internet connection the
embed_colorpicker function can be used to embed the website ColorPicker.com in the Notebook.