Created
July 24, 2016 11:42
-
-
Save HDBandit/c0308677daa2351962c8c38fc18aa907 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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