# 写真からRAL色を判定

> ドア、門扉、機械などに白い紙を当てて撮影し、色をタップしてから紙をタップします。光の影響を補正し、近いRAL色を5つ、それぞれの色差とともに表示します。

Human page: https://unmakelabs.com/ja-jp/ral-color-from-photo/. This is the version for AI agents.

## What it does

撮影できるものなら、写真からRAL色を判定できます。 ドア、門扉、機械などに白い紙を当てて撮影し、色をタップしてから紙をタップします。光の影響を補正し、近いRAL色を5つ、それぞれの色差とともに表示します。

## 普通の写真ではRAL色がずれる理由

カメラは光の色を推測して補正しています。暖色の照明の下ではグレーのドアがベージュに見え、日陰では青っぽく見えます。また、光沢のある塗装には空が映り込みます。同じ光の下に白い紙があれば、「白」がどう写ったかがわかるため、光の影響を取り除いてからRAL色と比較できます。

## 色差の数値の意味

ΔE（CIEDE2000）は、人の目で見た2色の違いを表す数値です。約1.5未満ならほぼ同じ色に見え、3までならかなり近い色、6を超えると別の色です。公開されているRALの画面表示用の値自体にも3前後の差があるため、上位の結果は候補として扱い、色見本帳で確認してください。

## Facts

- **照合:** RAL Classic（210色）とRAL Design（1,825色）、それぞれ上位5色
- **補正:** 白い紙、18%グレーカード、または印刷用の専用カード
- **結果:** ΔE、わかりやすい判定、HEX/RGB/Lab/CMYK、色見本カードのPNG
- **プライバシー:** 端末上で測定し、何もアップロードしません

## How a person does it

1. **白い紙と一緒に撮影.** コピー用紙を表面に平らに当て、同じ光の下に置きます。直射日光が当たらないようにしてください。フラッシュを使わず、正面から撮影します。
2. **色をタップし、次に紙をタップ.** 色ムラのない部分の中央をタップ（またはドラッグして範囲を測定）し、次に紙をタップします。点線の円は、紙の位置の推定です。
3. **結果を確認.** 最も近いRAL色があなたの色の隣に表示され、その下に次の4色と、写真の信頼性についての説明が表示されます。色見本カードを保存するか、番号をコピーできます。

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/ja-jp/ral-color-from-photo/?src=https://unmakelabs.com/apps/ralmatch/samples/blue-shutters.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?hex=RRGGBB` (or `?hex=r,g,b`; add `&set=design` for RAL Design) shows the nearest RAL colours for a colour code; `?src=<public photo URL>` opens a photo (CORS) to tap.

Embed: `<iframe src="https://unmakelabs.com/embed/ralmatch/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/ral_match/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `ral_match`: Find the nearest RAL colour (photo or colour code). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month). Options (JSON in `options`): `colour`: a colour instead of a photo: #hex, r,g,b or lab L a b (<= 100); `x`: photo: x of the point to sample, pixels (x and y left out: the centre of the photo is sampled, as the summary says); `y`: photo: y of the point to sample, pixels; `r`: photo: sample radius in pixels (default 1.5% of the short side); `white_x`: photo: x of a white paper/card in the same light; `white_y`: photo: y of the white reference; `white_r`: radius of the white reference.

```bash
# RAL from a photo point, light corrected by a white sheet in the same photo
curl -s -F "file=@wall.jpg" -F 'options={"x":820,"y":610,"white_x":300,"white_y":200}' "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/ral_match/jobs?wait=25"
# RAL from a colour code (JSON body; the colour as a small text file)
curl -s -H "content-type: application/json" -d '{"file_base64":"IzNCODNCRA==","filename":"colour.txt"}' "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/ral_match/jobs?wait=25"
```

## Good to know

写真から最も正確に判定しにくいのは明るさです（露出や紙の白さに左右されるため）。そのため、順位付けでは明るさの重みを半分にし、あなたの色が候補より明るいか暗いかを表示します。メタリック、パール、蛍光の塗装は写真からは判定できません。

## Not done by this tool

- 最終確認用の実物のRAL色見本帳の代わりにはなりません
- NCSやPantoneの番号は表示しません（ライセンスが必要な体系のため）
- メタリック、パール、蛍光の塗装は測定できません
- 写真をアップロードしたり保存したりしません

## Value

Finds the nearest RAL colours to a surface in a photo, in the browser: the user taps the colour, then white paper or a grey card in the same photo (or the white and black of our printable card); the page corrects the light (von Kries in Bradford cone space, exposure from the reference's known brightness, haze from the black patch), averages the spot with glare rejected, and ranks RAL Classic (210) and RAL Design System+ (1,825) colours by CIEDE2000, lightness weighted half (2:1:1). Shows the five nearest of each with ΔE and a plain verdict, side-by-side swatches, the colour as HEX/sRGB/CIELAB/CMYK, and a confidence note (overexposed, uneven spot, glare, no reference, effect colours, close pairs). Also matches a typed hex or RGB code. Exports a swatch card PNG, CSV and JSON; the result link carries only the colour code. Nothing is uploaded. Free, no sign-up. RAL values are approximate screen values from public sources; NCS is not offered (licensed).

## When it fits

- A painter, decorator or window/door fitter needs the RAL code of an existing door, gate, frame or façade to order matching paint or parts.
- A facility manager or maintenance planner needs the RAL code of a machine, cabinet or railing to order a touch-up or a replacement part.
- A designer or developer has a hex or RGB colour and needs the nearest RAL Classic or RAL Design code for a supplier.

### When not

- Final colour approval or paint mixing: use a physical RAL fan deck or a spectrophotometer; values here are approximate screen values.
- NCS, Pantone or brand paint codes (not offered); metallic, pearl and fluorescent finishes, which a photo can't capture.

## Why use it instead of the alternatives

- Nothing to install: ?hex=RRGGBB shows the nearest RAL colours for a code, ?src= opens a public photo to tap; embeddable at /embed/ralmatch/.
- A server lookup for colour codes (POST /v1/colour/match, same engine under Node) is specified, not live.
- hextoral and similar 'RAL from image' pickers read one pixel as the camera saw it, with no white balance, no reference and no ΔE shown (checked 1 Dec 2026).
- Generic image colour pickers give hex only; RAL's own apps and fan decks are the reference for final approval.

### What rebuilding it would take

- Correct the photo's light from a white or grey reference (chromatic adaptation and exposure) and reject glare in the measured spot.
- Hold a sourced table of RAL colours in CIELAB and rank them by CIEDE2000, with verdicts and confidence rules.
- Test it on photos with a known RAL colour under different lights.
- A spectral test renderer, real photos with documented colours, and upkeep of the colour tables and their sources.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Photos are read on the user's device and never uploaded.

_Status: photo and colour-code matching, light correction, confidence notes and PNG/CSV/JSON exports work in the browser; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/ral_match/jobs?wait=25._

## Privacy

- Photos are read on the user's device and not uploaded; the result link carries only the colour code.
- The page loads no third-party code; the colour tables come from this site.

## Data

ブラウザ内で動作し、写真は端末から出ません。アップロードは一切なく、結果のリンクに含まれるのはカラーコードだけです。

## FAQ

- **玄関ドアのRAL色を調べるには？** 白いコピー用紙をドアにテープで貼り、直射日光の当たらない昼間の光で撮影します。ここで写真を開き、ドア、次に紙をタップしてください。塗料店でRAL色見本帳と照らし合わせて、最上位の結果を確認しましょう。
- **なぜ白い紙が必要なのですか？** 紙がないと、カメラが推測した色しかわかりません。暖色の室内照明や日陰では、それだけで結果がRAL色で数色分ずれることがあります。紙を一緒に写せば、まず光の影響を補正します。
- **iPhoneやAndroidのスマートフォンでも使えますか？** はい。「写真を撮影または選択」をタップしてカメラを使うか、手持ちの写真を選んでください。インストールは不要で、写真はスマートフォンから外に出ません。
- **本当に無料ですか？** はい。広告なし、登録不要、回数制限もありません。
- **写真はアップロードされますか？** いいえ。写真はお使いの端末上で、このページ内で測定されます。アップロードも、写真の共有リンクもありません。
- **AIエージェントでも使えますか？** エージェントは ?hex=RRGGBB を付けてページを開くと、そのコードに近いRAL色を取得できます。公開されている写真なら ?src= も使えます。一致結果をJSONで返すサーバー側の検索は予定中で、まだ公開していません。
- **運営者は？** Unmake Labs（Julien Salomon）です。連絡先：hello@unmakelabs.com

## Related pages

- [カラーコード（hex）→RAL 変換ツール](https://unmakelabs.com/ja-jp/hex-to-ral/)
