Color
public struct Color
                RGB representation of target color.
- 
                  
                  
Red component of color from 0-255.
Declaration
Swift
public let red: Int - 
                  
                  
Green component of color from 0-255.
Declaration
Swift
public let green: Int - 
                  
                  
Blue component of color from 0-255.
Declaration
Swift
public let blue: Int - 
                  
                  
Initialize an LED color.
Declaration
Swift
public init(red: Int, green: Int, blue: Int)Parameters
redRed component of color from 0-255.
greenGreen component of color from 0-255.
blueBlue component of color from 0-255.
 
            View on GitHub
          
      Color Structure Reference