Swift Package Index


A platform agnostic representation of Color.


  • The latest stable release is 0.1.3. Released 7 months ago.
  • The last commit to main was about 2 months ago.

Swift Version Compatibility

  • 0.1.3 and main
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.1.3
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
  • main
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

SwiftColor

A platform agnostic representation of Color.

Usage

SwiftColor is distributed using the Swift Package Manager. To install it into a project, add it as a dependency within your Package.swift manifest:

let package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/richardpiazza/SwiftColor.git", .upToNextMinor(from: "0.1.0"))
    ],
    ...
)

Then import the SwiftColor packages wherever you'd like to use it:

import SwiftColor

Garbage in... Color out