Tag: RGB
-
Change UIColors to RGB and HSB colors
One dilemma you’ll find when working with colors is switching between color systems. There’s two you’ll most often be using: the Red-Green-Blue or RGB and Hue-Saturation-Brightness or HSB. Download the Exercise file and run. It will give you the HSB value, but what if you want a RGB Value for that color? What if you…
-
KinderSwift 7: Introduction to Functions
This session we will learn about functions by making colors with UIColor. Transcript Welcome to lesson 7 of KinderSwift. In our last lesson we used this to convert a Int into a Double and this to convert a Double into a Int. Both of these are functions. Functions take the data within the parentheses and…