• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

BMS Processing Class

A Course23.com Production

"Stop, Pause, and Think..." -- Ms. Elwell
"Take your time, it isn't a race" -- Mr. Helmke

  • Home
  • Graphing and Color
    • Graphing Shapes
      • Activity 1
      • Activity 2
    • Color (R,G,B) and Grey Scale
      • Activity 3
      • Activity 4
  • Code and Sketches
    • Parts of Code
      • Activity 5
    • Your Code & OpenProcessing Sketches
      • Activity 6
      • Activity 7
  • Variables, etc
    • Variables
      • Activity pre8 and 8
      • Activity 8.1
      • Activity 9
      • Activity 10
      • Activity 11
      • Activity 11.1
    • Operator Precedence
      • Activity 12
      • Activity 13
    • Random
      • Activity 14
      • Activity 15
  • Conditionals – If, Else, Else If
  • Resources

Activity 4

Use your Notebook/Notability.

Estimate which RGB values to use for the following 3 colors —  Fill in the blanks.

1
2
3
4
5
1. Blue:  R__________, G_________, B_________
 
2. Purple:  R__________, G_________, B_________
 
3. Yellow:       R__________, G_________, B_________

What color will each of the following lines of code generate?

1
2
3
4
5
6
7
8
9
10
11
12
13
4. fill(0, 100, 0);        _____________________________
 
5. fill(100,100,100);      _____________________________
 
6. stroke(0,0,200);        _____________________________
 
7. stroke(255,255,255);    _____________________________
 
8. stroke(255,255,0);      _____________________________
 
9. stroke(0, 255, 255);    _____________________________
 
10. stroke(200, 50, 50);    _____________________________

Go back to:  Color

Primary Sidebar

Required Reading:

Course Coding Standards

Copyright © 2016–2021 Chris Elwell/Michael Helmke · This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License · Log in