Skip to content
Back to skills

Sandbox Color

ASecurity

Convert, mix, and measure colors inside a Code node or CodeAct action, with culori running in the guest

  • 552 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 1, 2026
ai-agentsgonode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add nodetool-ai/nodetool --skill sandbox-color --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sandbox Color?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sandbox Color
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nodetool-ai-sandbox-color/badge)](https://www.skillsdirectory.com/skills/nodetool-ai-sandbox-color)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sandbox-color
description: Convert, mix, and measure colors inside a Code node or CodeAct action, with culori running in the guest
---

# Color in the sandbox

Specifier: `@nodetool-ai/sandbox-color`. One module, culori's root export.
Import it at the top of the body.

## Parse and convert

```js
import { parse, formatHex, converter } from "@nodetool-ai/sandbox-color";

const color = parse(inputs.hex);
const rgb = converter("rgb")(color);
return { hex: formatHex(color), rgb };
```

## Mix and difference

```js
import { interpolate, formatHex, differenceCiede2000 } from "@nodetool-ai/sandbox-color";

const mix = interpolate(["#2563eb", "#f97316"]);
const mid = formatHex(mix(0.5));
const delta = differenceCiede2000()("#2563eb", "#f97316");
return { mid, delta };
```

## Gotchas

- **Objects, not CSS strings, after parse.** A parsed color is `{ mode, ...channels }`.
- **Named imports.** There is no useful default export.

Files in this skill

  • SKILL.md942 B
  • package.json903 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.