contrast 0.1.1

Calculate contrast between two colors
Documentation
{
  "nodes": {
    "crane": {
      "locked": {
        "lastModified": 1742394900,
        "narHash": "sha256-vVOAp9ahvnU+fQoKd4SEXB2JG2wbENkpqcwlkIXgUC0=",
        "owner": "ipetkov",
        "repo": "crane",
        "rev": "70947c1908108c0c551ddfd73d4f750ff2ea67cd",
        "type": "github"
      },
      "original": {
        "owner": "ipetkov",
        "repo": "crane",
        "type": "github"
      }
    },
    "flakelight": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1748263617,
        "narHash": "sha256-O1xypYFWzYlfiyO3fUZuzRhYac5DGptP+ZhocY9L5tQ=",
        "owner": "nix-community",
        "repo": "flakelight",
        "rev": "65c783ba2b85910df5a053cb1451e9eb13794c12",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "flakelight",
        "type": "github"
      }
    },
    "mill-scale": {
      "inputs": {
        "crane": "crane",
        "flakelight": [
          "flakelight"
        ],
        "rust-overlay": "rust-overlay"
      },
      "locked": {
        "lastModified": 1748205441,
        "narHash": "sha256-W+UUBT/l1DSTZo5G43494mRNNspJ2i9jW2QELC9JuMQ=",
        "ref": "refs/heads/main",
        "rev": "dac3b74a89cebbeb21cc6602e4a346604adbee8b",
        "revCount": 49,
        "type": "git",
        "url": "https://codeberg.org/icewind/mill-scale.git"
      },
      "original": {
        "type": "git",
        "url": "https://codeberg.org/icewind/mill-scale.git"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1748437600,
        "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "7282cb574e0607e65224d33be8241eae7cfe0979",
        "type": "github"
      },
      "original": {
        "id": "nixpkgs",
        "ref": "nixos-25.05",
        "type": "indirect"
      }
    },
    "root": {
      "inputs": {
        "flakelight": "flakelight",
        "mill-scale": "mill-scale",
        "nixpkgs": "nixpkgs"
      }
    },
    "rust-overlay": {
      "inputs": {
        "nixpkgs": [
          "mill-scale",
          "flakelight",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1742697269,
        "narHash": "sha256-Lpp0XyAtIl1oGJzNmTiTGLhTkcUjwSkEb0gOiNzYFGM=",
        "owner": "oxalica",
        "repo": "rust-overlay",
        "rev": "01973c84732f9275c50c5f075dd1f54cc04b3316",
        "type": "github"
      },
      "original": {
        "owner": "oxalica",
        "repo": "rust-overlay",
        "type": "github"
      }
    }
  },
  "root": "root",
  "version": 7
}