I use Color(String) because it's easier to copy-paste from color pickers, but if you use the Color(r, g, b) then make sure that the values are fractions, not 8-bit integers (i.e, 0.6 instead of 153). There's also a button in the color picker that looks like a hashtag that you can click and it'll give you a copy-paste of the values you need.