Skip to content

Commit

Permalink
Fixe hex string initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Wreggelsworth committed Jun 2, 2017
1 parent 39c8feb commit f6d9d0a
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 56 deletions.
3 changes: 3 additions & 0 deletions Colors-macOS.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ color1 == color2
color2 == color3

var dinerGreen = Color(hex: 0x37ecbd)
var dinerGreen2 = Color(hex: "0x37ecbd")

dinerGreen2.rgb

dinerGreen.rgb
dinerGreen.hsl
Expand Down
Loading

0 comments on commit f6d9d0a

Please sign in to comment.