NSColor
- 
                  
                  
Initialize a new NSColor from a given hex value.
Declaration
Swift
convenience init(withRGB rgb: Int)Parameters
rgbRGB value, easily provided as hex, e.g. 0xAABBCC
 
CNKit Docs (82% documented)
Initialize a new NSColor from a given hex value.
Swift
convenience init(withRGB rgb: Int)
                        
                                
                                rgb
                                
                               | 
                              
                                 RGB value, easily provided as hex, e.g. 0xAABBCC  |