20. Color Enhancing

One exercise working with color.

Write a function that takes a color and does the following:

  • cut the amount of red in half
  • leave green the same
  • double the amount of blue

Start using the design process - write a signature, then examples showing how each number changes. What possibly troublesome cases should appear in your examples?

Last modified August 18, 2023: 2022-2023 End State (7352e87)