{
  "_id": "6ae9c9e81e2c7b3a4f533370",
  "Package": "palettecore",
  "Title": "Derive, Optimise and Audit a Scientific Colour Palette from One\nSeed Colour",
  "Version": "0.4.1",
  "Authors@R": "person(\"Heidi Helena\", \"Andersén\", role = c(\"aut\", \"cre\"),\nemail = \"andersenheidihelena@gmail.com\",\ncomment = c(ORCID = \"0000-0001-5923-5865\"))",
  "Description": "Generates sequential, diverging and categorical colour\npalettes from a single seed colour in OKLCH (the cylindrical\nlightness-chroma-hue representation of the Oklab perceptual\ncolour space), with spacing measured by the CIEDE2000\ncolour-difference formula of the International Commission on\nIllumination. Audits every palette under simulated\ncolour-vision deficiency, greyscale conversion, the standard\nRed Green Blue (sRGB) gamut and Web Content Accessibility\nGuidelines (WCAG) contrast. Colour-vision deficiency is\nsimulated at severity 1.0 with the model of Machado, Oliveira\nand Fernandes (2009) <doi:10.1109/TVCG.2009.113>; the design\nrationale follows Crameri, Shephard and Heron (2020)\n<doi:10.1038/s41467-020-19160-7>. Mirrors the 'Python'\nreference implementation maintained in the same repository and\nis validated against shared parity fixtures. Thresholds are\nconfigurable design rules, not established accessibility\ncut-offs.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/heidihelena/palettecore",
  "BugReports": "https://github.com/heidihelena/palettecore/issues",
  "Repository": "https://heidihelena.r-universe.dev",
  "Date/Publication": "2026-08-05 11:08:29 UTC",
  "RemoteUrl": "https://github.com/heidihelena/palettecore",
  "RemoteRef": "HEAD",
  "RemoteSha": "e88898ef8950221c7e93aa5a78922365deb0c484",
  "RemoteSubdir": "r/palettecore",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 10:41:36 UTC",
    "User": "root"
  },
  "Author": "Heidi Helena Andersén [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5923-5865>)",
  "Maintainer": "Heidi Helena Andersén <andersenheidihelena@gmail.com>",
  "_user": "heidihelena",
  "_type": "src",
  "_file": "palettecore_0.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/7d6e9e544c936b0d70a0ac83f26077feb4cd665dcce09d0d95c72698b8486c3d",
  "_filesize": 114848,
  "_sha256": "7d6e9e544c936b0d70a0ac83f26077feb4cd665dcce09d0d95c72698b8486c3d",
  "_expires": "2027-02-11T11:47:50.000Z",
  "_created": "2026-11-03T10:41:36.000Z",
  "_published": "2026-11-03T11:47:51.986Z",
  "_upstream": "https://github.com/heidihelena/palettecore",
  "_status": "success",
  "_maintainer": {
    "name": "Heidi Helena Andersén",
    "email": "andersenheidihelena@gmail.com",
    "orcid": "0000-0001-5923-5865"
  },
  "_jobs": [
    {
      "job": 125867783838,
      "time": 93,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13222424839"
    },
    {
      "job": 125867783716,
      "time": 90,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13223528535"
    },
    {
      "job": 125867783713,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13228425879"
    },
    {
      "job": 125867783674,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13226859634"
    },
    {
      "job": 125866699533,
      "time": 137,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13224075652"
    },
    {
      "job": 125867783599,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13223224611"
    },
    {
      "job": 125867783684,
      "time": 63,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13224096231"
    },
    {
      "job": 125867783560,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13223742813"
    },
    {
      "job": 125867783535,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13223478676"
    }
  ],
  "_buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076",
  "_commit": {
    "id": "e88898ef8950221c7e93aa5a78922365deb0c484",
    "author": "Heidi Andersen <155103098+heidihelena@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "experiments: digital rain, volcano and meteorite, completing the series (#7)\n\n* experiments: digital rain — forty-eight notes descending\n\nThree builds of a new piece on the pitch-colour helix: the full study with\nthe vision toggles, an ambient fullscreen variant, and a live variant that\nreads the room. Forty-eight notes, C2..B5; each column of rain carries one\nnote, and the note sounds as the drop reaches the bottom.\n\ndigital_rain.py generates and audits the ladder from the engine and injects\nit into all three builds, so no artwork can drift from the numbers. The\naudit splits and the piece is built to show the split: normal vision clears\nthe exploratory dE 6 floor (min adjacent 7.1, none below), because lightness\ncarries absolute pitch across four octaves; every simulated dichromacy\ncollapses it (min 0.9-1.8, 23-26 of 47 steps below floor, and protanopia\nadds nine luminance reversals).\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n\n* experiments: volcano and meteorite — the two discontinuities\n\nCompletes the series as an argument about regimes of uncertainty: waves are\ngradual accumulation, rain is distributed signal, and these two are sudden\ndiscontinuity. The pair is deliberately not one idea.\n\nThe volcano is endogenous. The hazard of eruption is a rising function of an\nobservable state, so precursors exist: tremor rate, inflation and the pitch\nof the harmonic tremor all climb with strain, the panel plots strain against\nits threshold live, and afterwards reports how long the warning ran. Tuned so\nthe median lead is about 31 s (18-43 s over 400 simulated runs), because a\nwarning too short to notice would make the piece argue the opposite of what\nit says.\n\nThe meteorite is exogenous. Arrivals are drawn from a memoryless exponential\nprocess, so the hazard is constant and no precursor exists to be found. It\ncarries the identical instrument panel, and the flat line is the argument.\n\nThe crater is modelled on Söderfjärden (6.55 km apparent diameter, ~300 m\ndeep",
    "time": 1785928109
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    }
  ],
  "_owner": "heidihelena",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 17
    },
    {
      "week": "2026-32",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-07-23"
    },
    {
      "name": "v0.2.1",
      "date": "2026-07-23"
    },
    {
      "name": "v0.2.2",
      "date": "2026-07-23"
    },
    {
      "name": "v0.4.0",
      "date": "2026-07-24"
    }
  ],
  "_topics": [
    "accessibility",
    "ciede2000",
    "color",
    "colorblind",
    "data-visualization",
    "oklch",
    "palette",
    "python"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "heidihelena",
      "count": 23,
      "uuid": 155103098
    }
  ],
  "_userbio": {
    "uuid": 155103098,
    "type": "user",
    "name": "Heidi Andersen",
    "followers": 52,
    "description": "Founder, Vahtian | Thoracic oncologist, pulmonologist, and clinical data analyst | MD, PhD"
  },
  "_downloads": {
    "count": 188,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/palettecore"
  },
  "_devurl": "https://github.com/heidihelena/palettecore",
  "_searchresults": 3,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/palettecore.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.4.1",
      "date": "2026-08-09"
    }
  ],
  "_exports": [
    "ciede2000",
    "contrast_ratio",
    "generate_palette",
    "hex_to_oklch",
    "hex_to_srgb",
    "max_chroma",
    "oklch_to_hex",
    "out_of_gamut_excursion",
    "scale_color_accessible",
    "scale_colour_accessible",
    "scale_fill_accessible",
    "simulate_cvd",
    "srgb_to_hex"
  ],
  "_help": [
    {
      "page": "ciede2000",
      "title": "CIEDE2000 colour difference between two sRGB colours",
      "topics": [
        "ciede2000"
      ]
    },
    {
      "page": "contrast_ratio",
      "title": "WCAG 2.x contrast ratio between two sRGB colours",
      "topics": [
        "contrast_ratio"
      ]
    },
    {
      "page": "generate_palette",
      "title": "Generate an audited palette from one seed colour",
      "topics": [
        "generate_palette"
      ]
    },
    {
      "page": "hex_to_oklch",
      "title": "Convert a HEX colour to OKLCH",
      "topics": [
        "hex_to_oklch"
      ]
    },
    {
      "page": "hex_to_srgb",
      "title": "Convert a HEX colour to sRGB",
      "topics": [
        "hex_to_srgb"
      ]
    },
    {
      "page": "max_chroma",
      "title": "Largest OKLCH chroma at (L, H) inside the sRGB gamut",
      "topics": [
        "max_chroma"
      ]
    },
    {
      "page": "oklch_to_hex",
      "title": "Convert an OKLCH colour to HEX",
      "topics": [
        "oklch_to_hex"
      ]
    },
    {
      "page": "out_of_gamut_excursion",
      "title": "Pre-clamp gamut excursion of a CVD simulation",
      "topics": [
        "out_of_gamut_excursion"
      ]
    },
    {
      "page": "scale_colour_accessible",
      "title": "Discrete colour scale from an audited palettecore palette",
      "topics": [
        "scale_color_accessible",
        "scale_colour_accessible"
      ]
    },
    {
      "page": "scale_fill_accessible",
      "title": "Discrete fill scale from an audited palettecore palette",
      "topics": [
        "scale_fill_accessible"
      ]
    },
    {
      "page": "simulate_cvd",
      "title": "Simulate colour-vision deficiency (complete dichromacy)",
      "topics": [
        "simulate_cvd"
      ]
    },
    {
      "page": "srgb_to_hex",
      "title": "Convert an sRGB colour to HEX",
      "topics": [
        "srgb_to_hex"
      ]
    }
  ],
  "_readme": "https://github.com/heidihelena/palettecore/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 2,
  "_indexed": false,
  "_nocasepkg": "palettecore",
  "_universes": [
    "heidihelena"
  ],
  "_indexurl": "https://cran.r-universe.dev/palettecore",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-11-03T10:43:18.000Z",
      "distro": "resolute",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/a5c1febcdadfc4502a913d26e8f64ebab6ae1b31cc27c732f4a5824626b63b00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-11-03T10:43:12.000Z",
      "distro": "resolute",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/5e90f08485d214817270ef9a6d435cf6fc1f236a5beb032737412209b5105247",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-11-03T11:46:59.000Z",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/0f6c3f416f22fe28ce1bdb9f117c23bd96caba8662101a1d913ac25061710b2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-11-03T11:46:44.000Z",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/ea00ebab8069623e14c41595e7a5b8bb9f1eff2126d4584f12966be479fe0197",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-11-03T10:43:08.000Z",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/c2c44da66d201ba691443d6473b7b07b6e436f4ddb8c0dec62e5a2b80e8bf271",
      "status": "success",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-11-03T10:42:43.000Z",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/68a79cce9b693a38fb031c2fda8f1c98cf2861af2ffa08d0ae40ba02758507ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-11-03T10:42:54.000Z",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/ecf4a9731ba37feb6fc7ddeeb4fe82d3e0195dcb16ae0994a6de43e3c4ce1a78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-11-03T10:42:45.000Z",
      "commit": "e88898ef8950221c7e93aa5a78922365deb0c484",
      "fileid": "https://r2.ropensci.org/4d5961e51a90f94178a35e8a1fa646ec447dd4a2f9f11d5f33b2ffa1226c2132",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidihelena/actions/runs/41621044076"
    }
  ]
}