Skip to content

Instantly share code, notes, and snippets.

@felixmc
Last active January 1, 2016 15:49
Show Gist options
  • Save felixmc/8166193 to your computer and use it in GitHub Desktop.
Save felixmc/8166193 to your computer and use it in GitHub Desktop.
val cyan = new HSBColor(hue = 180, saturation = 65)
val bgColor: RGBColor = cyan
override def draw() {
background( bgColor )
stroke( new RGBColor(red = 255, green = 200, blue = 150) )
// draw something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment