Get color as a string stored in Firestore

前端 未结 0 927
闹比i
闹比i 2020-12-14 03:19

I have this extension

 extension Color {
 static func hexColour(hexValue:UInt32)->Color
  {
  let red = Double((hexValue & 0xFF0000) >> 16) / 255         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题