In the following Notebook, Google Colaboratory users (as opposed to Jupyter Notebook) might find that Colaboratory Markdown is rendered as all black. To see your colors correctly, swap Markdown with HTML.
Replace:
from IPython.display import Markdown, display
def display_colors(colors):
display(Markdown(" ".join(
f"{chr(9608) * 4}"
for color in colors
)))with:
from IPython.display import HTML, display
def display_colors(colors):
display(HTML(" ".join(
f"{chr(9608) * 4}"
for color in colors
)))