Homework Hack:

In your notebook, explain the following, along with one application to YOUR work:

– What is a hex color code? What are some examples?

A hex color code is a six-digit hexadecimal representation of a color. Some examples include: #FF0000 (red), #00FF00 (green), and #0000FF (blue).

– What is Base64 and how is it used with images?

Base 64 uses a set of 64 characters (uppercase and lowercase letters, numbers, and two symbols) to represent binary data in a way that can be safely transmitted or stored in protocols that rely on text-based formats. This is used for storing images within text.

– Why might you use Base64 instead of a regular image file?

You might use Base64 in transmitting binary data in protocols that are only able to transmit text.

  • Then, Insert an image into your Jupyter notebook and explain how it’s stored and displayed.

Image