LocalExcelTool
はじめる

ランダムカラー生成

ランダムな色をまとめて生成。パレット作りの起点に。

ランダムカラー生成とは

ランダムカラー生成とは、ランダムな色相・彩度・明度から複数の色を作る処理です。デザインのパレット検討やモックアップに使われます。

🔒 処理はすべてブラウザ内で完結し、データは送信されません。

このツールの前提

処理場所
このページのブラウザ内(JavaScript / Canvas)
アップロード
なし — ファイルは端末の外に出ません
オフライン
ページを開いた後は通信不要

Uniform in RGB is not uniform to the eye

Picking three random bytes gives every RGB triple equal probability, which means most results are mid-tone and desaturated: the space of colours that look distinctly different is a small part of the cube. A run of a hundred random colours feels repetitive long before it runs out of unique values.

The visual consequence is worth knowing when generating placeholder palettes for a chart — random colours will collide in perceived lightness, and two series will be indistinguishable in greyscale print or to a colour-blind reader.

What a usable random palette needs

A minimum perceptual distance between colours, and a controlled lightness range so text stays readable on top. Generating in HSL with a fixed saturation and lightness band, walking hue by golden-angle increments, gives a set that is both varied and legible — which is what the palette tool does deliberately rather than sampling the cube.

Contrast is the constraint that matters most in practice: a colour that looks fine as a swatch can fail WCAG AA as a background behind text. Check the contrast ratio against the actual foreground rather than judging by eye.

Where the randomness comes from

Colours are generated with the platform's CSPRNG where available. That is more than a decoration needs, but it costs nothing and avoids the temptation to reuse a weak generator for something that does need strength.

Nothing is stored and nothing is sent, so refreshing gives a fresh set. If a specific colour must be reproduced later, copy its hex value — there is no seed to re-enter, and the same seed would have to be threaded through the page to make it reproducible.

使い方

  1. 1.生成数を指定
  2. 2.「実行する」をクリック
  3. 3.気に入った色をコピー

他の方法との比較

同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。

観点このツールサーバー側の変換サービス
ファイルの処理場所このページのブラウザ内ベンダーのサーバー(アップロード後)
アカウント不要多くの場合必要(無料枠の制限解除に登録を求める)
無料で扱えるサイズサイズ制限なし(回数制限もなし)数ファイル/時間、または 5〜10MB 程度で課金 wall
料金無料。Pro は月 $9(大きいファイルと AI 機能のみ)サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点)
オフライン一度開けば通信不要不可
20MB を処理し始めるまで待ち時間なし(アップロードが無い)アップロードが支配的(10Mbps 上りで約 16 秒)
保証できないこと値は端末の CSPRNG で生成され、サーバーには送られません同じ(変換の原理は変わらない)

サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。

よくある質問

同じ色が出ることはありますか?

乱数なので稀に似た色が出ます。生成数を増やして調整してください。

その他のジェネレーター