Skip to content

Instantly share code, notes, and snippets.

@HDBandit
Created July 24, 2016 11:42
Show Gist options
  • Save HDBandit/c0308677daa2351962c8c38fc18aa907 to your computer and use it in GitHub Desktop.
Save HDBandit/c0308677daa2351962c8c38fc18aa907 to your computer and use it in GitHub Desktop.
object MyCoolApp {
def main(args: Array[String]): Unit = {
val myColor = Color.create(23, 14, 9)
println("Initial color: " + myColor)
val inverseColor1 = !myColor
println("Inverse color: " + inverseColor1)
println("Inverse color again: " + !inverseColor1)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment