prismatic - Color Manipulation Tools for R

Learn about prismatic's powerful color manipulation and conversion tools for R programming.

RColorTools

Introduction

prismatic provides tools for color manipulation and conversion in R, making it easier to work with colors programmatically.

Key Features

  • Color space conversions (RGB, HSL, HCL)
  • Color manipulation functions
  • Color distance calculations
  • Color mixing and blending

Example Usage

R
library(prismatic)

# Convert colors between formats
color_names <- c("red", "blue", "green")
hex_colors <- clr_to_hex(color_names)

# Modify color properties
lighter_colors <- clr_lighten(hex_colors, 0.2)

Installation

R
install.packages("prismatic")

Resources