Skip to content

Commit 2072440

Browse files
fix: properly calculate blended colors
1 parent ddf4f23 commit 2072440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/Shared/Colors/UniversalColor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public struct UniversalColor: Hashable {
100100

101101
self.uiColor.getRed(&red, green: &green, blue: &blue, alpha: &alpha)
102102

103-
return (red, green, blue, alpha)
103+
return (red * 255, green * 255, blue * 255, alpha)
104104
}
105105
}
106106

0 commit comments

Comments
 (0)