12 lines
208 B
Swift
12 lines
208 B
Swift
public struct Color {
|
|
public var r: UInt8
|
|
public var g: UInt8
|
|
public var b: UInt8
|
|
|
|
public init(r: UInt8, g: UInt8, b: UInt8) {
|
|
self.r = r
|
|
self.g = g
|
|
self.b = b
|
|
}
|
|
}
|