Spectrum to Color Spectrum to Color

Last updated แก้ไขล่าสุด

Upload your measured reflectance spectra. this page computes the peak/centroid and CIE xy/L*a*b* itself, and gives you a tool for labelling the samples one row at a time to group them by color. อัปโหลดข้อมูลผลการวัดสเปกตรัมการสะท้อนแสง หน้านี้คำนวณ peak/centroid และ CIE xy/L*a*b* เอง พร้อมเครื่องมือช่วยคุณทำ label สำหรับจัดกลุ่มสีได้ทีละแถว

1Introductionบทนำ

A reflectance measurement of a surface yields several hundred numbers, one for each wavelength. Put two samples side by side, and their spectra show where the numbers differ, but they cannot tell whether the eye would see the two samples as different colors. So how do those hundreds of numbers relate to the color the eye actually sees? CIE has defined a standard method for this conversion.

ผลการวัดสเปกตรัมการสะท้อนของผิววัสดุออกมาเป็นตัวเลขหลายร้อยค่า หนึ่งค่าต่อหนึ่งความยาวคลื่น เมื่อนำตัวอย่างสองชิ้นมาวางคู่กัน สเปกตรัมบอกได้ว่าตัวเลขสองชุดนี้ต่างกันตรงไหน แต่บอกไม่ได้ว่าตาคนจะเห็นตัวอย่างทั้งสองมีสีต่างกันหรือไม่ แล้วตัวเลขหลายร้อยค่านั้นเทียบกับสีที่ตามองเห็นได้อย่างไร CIE ได้กำหนดวิธีเป็นมาตรฐานในการแปลงค่าเหล่านี้ไว้แล้ว

This page converts reflectance spectra into CIE 1931 chromaticity coordinates (x, y) and CIE L*a*b* values, and finds the peak and the centroid for the table you import. You can import more than one spectrum at a time, and each one appears on the same CIE 1931 (x, y) and CIE L*a*b* diagrams, so you can see which samples cluster together and which move away from the group. You can also give each spectrum a custom label and export the result as a file. The page runs on JavaScript and does not store any data you upload.

หน้านี้ทำการแปลงค่าสเปกตรัม reflectance ไปเป็นพิกัดสี CIE 1931 (x, y) และ CIE L*a*b* พร้อมกับหา peak และ centroid จากข้อมูลตารางที่นำเข้ามา ซึ่งคุณสามารถนำเข้าค่าสเปกตรัมได้พร้อมกันมากกว่า 1 ชุด โดยข้อมูลทุกชุดแสดงอยู่บนไดอะแกรม CIE 1931 (x, y) และ CIE L*a*b* เดียวกัน ทำให้คุณเห็นว่าตัวอย่างใดอยู่รวมกลุ่มกันและตัวอย่างใดออกจากกลุ่ม นอกจากนี้ยังติด label ของคุณเองให้แต่ละชุดข้อมูลแล้วส่งออกเป็นไฟล์ได้ โดยหน้านี้ทำงานบน JavaScript และไม่มีการเก็บข้อมูลที่คุณ upload เข้ามา

2Key equationsสมการที่ใช้ในหน้านี้

The page first smooths the raw curve R(λ) with a Savitzky-Golay filter (window 51, polyorder 2), then looks inside the peak-search range for an apex whose full width at half maximum (FWHM) is wider than 20 nm. Within that range the smoothed curve is normalized min-max to Rn, and the centroid is taken over the contiguous region where Rn ≥ 0.5:

หน้านี้เริ่มจาก smooth เส้น R(λ) ดิบด้วย Savitzky-Golay (window 51, polyorder 2) แล้วหายอดที่มีความกว้างครึ่งสูงสุด (FWHM) มากกว่า 20 nm ในช่วงหา peak จากนั้น normalize เส้นที่ smooth แล้วแบบ min-max ในช่วงนั้นได้เป็น Rn แล้วคำนวณ centroid จากช่วงต่อเนื่องที่ Rn ≥ 0.5:

\[ \begin{align*} \mathllap{\lambda_c} &= \frac{\sum \lambda\,(R_n - 0.5)}{\sum (R_n - 0.5)} \tag{1} \end{align*} \]
\[ \begin{align*} \mathllap{\lambda_c} &= \frac{\sum \lambda\,(R_n - 0.5)}{\sum (R_n - 0.5)} \tag{1} \end{align*} \]

For the color calculation the page uses S(λ) = R(λ)/100 and integrates it on the 380–780 nm grid in 1 nm steps under CIE illuminant D65 [1], with the CIE 1931 2° color-matching functions [2] (the default observer; you can upload another one, see section 3), following Bruce Lindbloom's method [3]. Y and Z have the same form, with \(\bar{y}\) and \(\bar{z}\) in place of \(\bar{x}\):

การคำนวณสีใช้ S(λ) = R(λ)/100 อินทิเกรตบน grid 380–780 nm ทุก 1 nm ภายใต้ illuminant D65 [1] ด้วย color-matching function ของ CIE 1931 2° [2] (observer เริ่มต้น อัปโหลด observer อื่นแทนได้ ดูข้อ 3) ตามวิธีของ Bruce Lindbloom [3] ส่วน Y และ Z อยู่ในรูปเดียวกัน โดยเปลี่ยน \(\bar{x}\) เป็น \(\bar{y}\) และ \(\bar{z}\):

\[ \begin{align*} \mathllap{X} &= 100\,\frac{\int \bar{x}(\lambda)\,S(\lambda)\,I(\lambda)\,d\lambda}{\int \bar{y}(\lambda)\,I(\lambda)\,d\lambda} \tag{2} \end{align*} \]
\[ \begin{align*} \mathllap{X} &= 100\,\frac{\int \bar{x}(\lambda)\,S(\lambda)\,I(\lambda)\,d\lambda}{\int \bar{y}(\lambda)\,I(\lambda)\,d\lambda} \tag{2} \end{align*} \]

The chromaticity coordinates x and y, which place the sample on the CIE 1931 diagram, are the share each of X and Y takes of the three tristimulus values [4]. When X = Y = Z = 0 the page falls back to the coordinates of the reference white:

พิกัดสี x และ y ที่ใช้วางตำแหน่งตัวอย่างบนไดอะแกรม CIE 1931 คือสัดส่วนของ X และ Y เทียบกับผลรวมของ tristimulus values ทั้งสาม [4] ถ้า X = Y = Z = 0 หน้านี้จะใช้พิกัดของ reference white แทน:

\[ \begin{align*} \mathllap{x} &= \frac{X}{X + Y + Z} \tag{3} \\ \mathllap{y} &= \frac{Y}{X + Y + Z} \tag{4} \end{align*} \]
\[ \begin{align*} \mathllap{x} &= \frac{X}{X + Y + Z} \tag{3} \\ \mathllap{y} &= \frac{Y}{X + Y + Z} \tag{4} \end{align*} \]

CIE L*a*b* comes from the same tristimulus values through a helper function f(t), with the constants \(\epsilon = 216/24389\) and \(\kappa = 24389/27\) [5]:

CIE L*a*b* คำนวณจาก tristimulus values ชุดเดียวกันผ่านฟังก์ชันช่วย f(t) โดยมีค่าคงที่ \(\epsilon = 216/24389\) และ \(\kappa = 24389/27\) [5]:

\[ \begin{align*} \mathllap{f(t)} &= \begin{cases} t^{1/3} & t > \epsilon \\ (\kappa t + 16)/116 & t \le \epsilon \end{cases} \tag{5} \end{align*} \]
\[ \begin{align*} \mathllap{f(t)} &= \begin{cases} t^{1/3} & t > \epsilon \\ (\kappa t + 16)/116 & t \le \epsilon \end{cases} \tag{5} \end{align*} \]

Each of X, Y and Z is divided by the matching value of the reference white, which this page computes from S = 1 on its own grid, before f(t) is applied:

ก่อนใส่ f(t) ค่า X, Y และ Z แต่ละตัวจะถูกหารด้วยค่าคู่กันของ reference white ซึ่งหน้านี้คำนวณจาก S = 1 บน grid ของหน้านี้เอง:

\[ \begin{align*} \mathllap{L^*} &= 116\,f(Y/Y_r) - 16 \tag{6} \\ \mathllap{a^*} &= 500\,\left(f(X/X_r) - f(Y/Y_r)\right) \tag{7} \\ \mathllap{b^*} &= 200\,\left(f(Y/Y_r) - f(Z/Z_r)\right) \tag{8} \end{align*} \]
\[ \begin{align*} \mathllap{L^*} &= 116\,f(Y/Y_r) - 16 \tag{6} \\ \mathllap{a^*} &= 500\,\left(f(X/X_r) - f(Y/Y_r)\right) \tag{7} \\ \mathllap{b^*} &= 200\,\left(f(Y/Y_r) - f(Z/Z_r)\right) \tag{8} \end{align*} \]
Variableตัวแปร Equationสมการ Meaningความหมาย Unitหน่วย
\(\lambda\)(1), (2)Wavelengthความยาวคลื่นnm
\(R(\lambda)\)(1), (2)Measured reflectance of the sampleค่า reflectance ของตัวอย่างที่วัดได้%
\(R_n\)(1)R(λ) after smoothing, normalized min-max inside the peak-search rangeR(λ) หลัง smooth แล้ว normalize แบบ min-max ในช่วงหา peaka.u.
\(\lambda_c\)(1)Centroid of the peakcentroid ของ peaknm
\(S(\lambda)\)(2)R(λ)/100, the input of the color calculationR(λ)/100 ที่ใช้เป็น input ของการคำนวณสีa.u.
\(I(\lambda)\)(2)Spectral power distribution of illuminant D65การกระจายกำลังตามความยาวคลื่นของ illuminant D65a.u.
\(\bar{x}, \bar{y}, \bar{z}\)(2)Color-matching functions of the standard observer (CIE 1931 2° by default)color-matching function ของ standard observer (เริ่มต้นเป็น CIE 1931 2°)a.u.
\(X, Y, Z\)(2)–(8)Tristimulus values of the sampletristimulus values ของตัวอย่างa.u.
\(x, y\)(3), (4)Chromaticity coordinates on the CIE 1931 diagramพิกัดสีบนไดอะแกรม CIE 1931a.u.
\(f(t)\)(5)–(8)Helper function of the XYZ → L*a*b* conversionฟังก์ชันช่วยในการแปลง XYZ → L*a*b*a.u.
\(\epsilon, \kappa\)(5)Constants of that conversion, 216/24389 and 24389/27ค่าคงที่ของการแปลงนั้น คือ 216/24389 และ 24389/27a.u.
\(X_r, Y_r, Z_r\)(6)–(8)Tristimulus values of the reference white, computed from S = 1 on this page's own gridtristimulus values ของ reference white ที่คำนวณจาก S = 1 บน grid ของหน้านี้เองa.u.
\(L^*, a^*, b^*\)(6)–(8)Coordinates of the sample in CIE L*a*b*พิกัดของตัวอย่างใน CIE L*a*b*a.u.

a.u. = relative units. Every color value on this page is computed on a fixed 380–780 nm grid in 1 nm steps, under illuminant D65 and the selected standard observer (CIE 1931 2° by default).

a.u. = หน่วยสัมพัทธ์ ค่าสีทุกค่าในหน้านี้คำนวณบน grid 380–780 nm ทุก 1 nm ภายใต้ illuminant D65 และ standard observer ที่เลือก (เริ่มต้นเป็น CIE 1931 2°)

3Preparing an observer fileการเตรียมไฟล์ observer

By default the page uses the CIE 1931 2° standard observer [2]. To compute with another observer, such as the CIE 1964 10° standard observer [7], upload a file of that observer's color-matching functions; the page then recomputes XYZ, xy, L*a*b*, the spectral locus and the reference white from your file, while the illuminant stays D65. The 2° and 10° values of the same sample differ slightly, so numbers computed with different observers should not be compared with each other.

โดยปกติหน้านี้ใช้ standard observer แบบ CIE 1931 2° [2] ถ้าต้องการคำนวณด้วย observer อื่น เช่น CIE 1964 10° standard observer [7] ให้อัปโหลดไฟล์ color-matching function ของ observer นั้น หน้านี้จะคำนวณ XYZ, xy, L*a*b*, spectral locus และจุดขาวอ้างอิงใหม่จากไฟล์ของคุณ โดย illuminant ยังเป็น D65 เหมือนเดิม ค่าของตัวอย่างเดียวกันที่ได้จาก 2° และ 10° จะต่างกันเล็กน้อย จึงไม่ควรนำตัวเลขที่คำนวณด้วย observer ต่างกันมาเทียบกัน

File formatรูปแบบไฟล์

  • A plain-text CSV/TXT file with one row per wavelength and four columns in this order: wavelength (nm), \(\bar{x}(\lambda)\), \(\bar{y}(\lambda)\), \(\bar{z}(\lambda)\).
  • Separate the columns with a comma (,), semicolon (;), tab or space. Use a decimal point (not a comma as the decimal separator). Columns after the fourth are skipped.
  • A header line before the first data row is allowed (it is skipped), but every line after the first data row must be numeric.
  • Wavelengths must increase down the file and cover at least 380–780 nm. The step can be anything (1 nm, 5 nm, …); if it is not 1 nm, the page interpolates linearly onto the 1 nm grid used for the calculation. Rows outside 380–780 nm may be present but are not used.
  • The three values in each row must be non-negative numbers. An empty value or NaN is read as 0.
  • ไฟล์ CSV/TXT แบบข้อความธรรมดา 1 แถวต่อ 1 ความยาวคลื่น มี 4 คอลัมน์ตามลำดับนี้: ความยาวคลื่น (nm), \(\bar{x}(\lambda)\), \(\bar{y}(\lambda)\), \(\bar{z}(\lambda)\)
  • คั่นคอลัมน์ด้วยเครื่องหมายจุลภาค (,) semicolon (;) tab หรือเว้นวรรค ใช้จุดทศนิยม (ไม่ใช้จุลภาคเป็นทศนิยม) คอลัมน์ที่เกินคอลัมน์ที่ 4 จะถูกข้าม
  • มีบรรทัดหัวตารางก่อนแถวข้อมูลแรกได้ (จะถูกข้าม) แต่หลังแถวข้อมูลแรกทุกบรรทัดต้องเป็นตัวเลข
  • ความยาวคลื่นต้องเพิ่มขึ้นเรื่อยๆ ลงมาตามไฟล์ และครอบคลุมอย่างน้อย 380–780 nm ระยะห่างจะเป็นเท่าไรก็ได้ (1 nm, 5 nm, …) ถ้าไม่ใช่ 1 nm หน้านี้จะ interpolate เชิงเส้นให้เป็น grid ทุก 1 nm ที่ใช้คำนวณ แถวที่อยู่นอกช่วง 380–780 nm มีได้ แต่จะไม่ถูกนำมาใช้
  • ค่าทั้งสามในแต่ละแถวต้องเป็นตัวเลขที่ไม่ติดลบ ค่าว่างหรือ NaN จะถูกอ่านเป็น 0

Example: the first rows of the CIE 1931 2° fileตัวอย่าง: แถวแรกๆ ของไฟล์ CIE 1931 2°

380,0.001368000000,0.0000390000000,0.006450001000
381,0.001502050000,0.0000428264000,0.007083216000
382,0.001642328000,0.0000469146000,0.007745488000
383,0.001802382000,0.0000515896000,0.008501152000
384,0.001995757000,0.0000571764000,0.009414544000
385,0.002236000000,0.0000640000000,0.010549990000
Columnคอลัมน์Row 1 aboveแถวที่ 1 ข้างบนMeaningความหมาย
1380Wavelength \(\lambda\) (nm)ความยาวคลื่น \(\lambda\) (nm)
20.001368\(\bar{x}(\lambda)\)
30.000039\(\bar{y}(\lambda)\)
40.006450\(\bar{z}(\lambda)\)

A 10° file has exactly the same layout; only the numbers differ. Example file: observer 2°

ไฟล์ 10° จัดรูปแบบเหมือนกันทุกประการ ต่างกันที่ตัวเลขเท่านั้น ตัวอย่างไฟล์ observer 2°

4How to use this visualizationวิธีใช้ visualization

  1. Upload your CSV/TXT file: the first row contains the column names at least one column that identifies the sample (e.g., id), an optional label column for your own pass/fail or category tags (e.g., label), and one reflectance column per wavelength, whose name must follow the form R_<nm> (e.g., R_380, R_381, … R_780); each reflectance column holds values in percent.
  2. This page opens with a demo file already loaded, so you can see the charts, readouts, and the Labelling Table below working right away. They show the demo until you upload your own file. Not sure about the format? Download the demo file: it is a CSV file with 3 rows, each containing id/label/R_380–R_780.
  3. The default observer is the CIE 1931 2° observer. To use another observer, upload its file under Observer (color-matching functions); see section 3 for the file format. All charts and values are recomputed at once.
  4. Step through rows with the Index controls or the ↑/↓ arrow keys; every chart and readout below updates to the selected row.
  5. Set the Peak/Centroid Search Range to match where your material's reflectance peak is expected to fall.
  6. Choose the column that sets the point colors on the CIE charts ("Color by column") to select which labeling category the colors show.
  7. Use the Labeling Table's editable last column to record your own judgment per row, then Export to download the labeled file.
  1. Upload file CSV/TXT ของคุณ: แถวแรกเป็นชื่อ column — อย่างน้อย 1 column สำหรับระบุตัวอย่าง (เช่น id) จะมี column label สำหรับติดป้าย pass/fail หรือหมวดหมู่ของคุณเอง เช่น label ส่วน column ค่าการสะท้อนแสงหนึ่ง column ต่อความยาวคลื่น ชื่อต้องอยู่ในรูปแบบ R_<nm> (เช่น R_380, R_381, … R_780) แต่ละ column เป็นค่า percent การสะท้อนแสง
  2. หน้านี้เปิดมาพร้อม demo file ที่โหลดไว้ให้แล้ว จึงเห็นตัวอย่างการทำงานได้ทันที — กราฟ ค่าที่อ่าน และตาราง Labelling ด้านล่างเป็นของ demo นี้จนกว่าจะ Upload file ของคุณเอง ไม่แน่ใจเรื่อง format? Download demo file ไฟล์นี้เป็น CSV มี 3 แถว แต่ละแถวประกอบไปด้วย id/label/R_380–R_780
  3. Observer เริ่มต้นใช้ observer แบบ CIE 1931 2° ถ้าต้องการใช้ observer อื่น ให้อัปโหลดไฟล์ที่ Observer (color-matching functions) รูปแบบไฟล์ดูที่ข้อ 3 กราฟและค่าทุกอย่างจะคำนวณใหม่ทันที
  4. เลื่อนดูทีละแถวด้วยตัวควบคุม Index หรือลูกศร ↑/↓ กราฟและค่าที่อ่านทุกช่องด้านล่างจะอัปเดตตามแถวที่เลือก
  5. ปรับช่วง Peak/Centroid Search Range ให้ตรงกับตำแหน่ง peak ที่คาดว่าวัสดุของคุณจะมี
  6. เลือกคอลัมน์ที่จะใช้กำหนดสีจุดในกราฟ CIE ("Color by column") เพื่อเลือกหมวดหมู่ของการ label
  7. แก้ไขคอลัมน์สุดท้ายของตาราง Labelling เพื่อบันทึกผลตัดสินของคุณเอง จากนั้นกด Export เพื่อดาวน์โหลดไฟล์ที่ติดป้ายแล้ว

Common mistakes & limitationsข้อควรระวังและข้อจำกัดของโมเดล

  • Peak/centroid detection needs at least 51 valid reflectance readings per row (the Savitzky-Golay smoothing window); rows with fewer are reported as having no peak.
  • The peak search only looks inside 400-780 nm and only counts a peak whose full width at half maximum exceeds 20 nm. If a spectrum has more than one such peak, only the most prominent one is used.
  • The color calculation (XYZ/xy/L*a*b*) uses the selected standard observer, CIE 1931 2° by default, under illuminant D65; the illuminant cannot be changed on this page.
  • If the wavelength columns in your file do not cover 380-780 nm, the missing part is left out of the color calculation.
  • การหา peak/centroid ต้องมีค่าการสะท้อนแสงที่ใช้ได้อย่างน้อย 51 ค่าต่อแถว (ตามขนาดหน้าต่าง Savitzky-Golay) — แถวที่มีน้อยกว่านี้จะถูกรายงานว่าไม่พบ peak
  • การหา peak มองเฉพาะในช่วง 400–780 nm และนับเฉพาะ peak ที่มีความกว้างครึ่งหนึ่งจากค่าสูงสุด (FWHM) มากกว่า 20 nm ถ้าสเปกตรัมมี peak แบบนี้มากกว่า 1 จุด จะแสดงเฉพาะจุดที่โดดเด่นที่สุด
  • การคำนวณสี (XYZ/xy/L*a*b*) ใช้ standard observer ที่เลือกได้ โดยค่าเริ่มต้นเป็น CIE 1931 2° ภายใต้ illuminant D65 และไม่สามารถเปลี่ยน illuminant ในหน้านี้ได้
  • ถ้าคอลัมน์ความยาวคลื่นในไฟล์ของคุณไม่ครอบคลุมช่วง 380–780 nm ส่วนที่ขาดจะถูกเว้นออกจากการคำนวณสี

5Real-world applicationsการประยุกต์ใช้งานจริง

  • Batch-to-batch color consistency checks: plotting many samples on the same CIE diagram makes it easy to see whether one batch has drifted in color compared to another.
  • A lightweight, browser-only alternative to re-running a full colorimetric pipeline in spreadsheet or Python tools, when all you have is a table of measured reflectance spectra.
  • ตรวจสอบความสม่ำเสมอของสีระหว่าง batch: การพล็อตหลายตัวอย่างบนกราฟ CIE เดียวกันช่วยให้เห็นได้ง่ายว่า batch ใดมีสีเพี้ยนไปจาก batch อื่นหรือไม่
  • เป็นเครื่องมือทางเบราว์เซอร์ที่เบา ใช้แทนการรันขั้นตอนคำนวณสีแบบเต็มในสเปรดชีตหรือ Python เมื่อมีแค่ตารางค่าการสะท้อนแสงที่วัดมาแล้ว
Spectrum to xy Spectrum to xy
Uploadอัปโหลด
No file selected ยังไม่ได้เลือกไฟล์
Observer (color-matching functions)Observer (color-matching functions)
File format: see section 3.รูปแบบไฟล์: ดูข้อ 3
Indexแถวที่ดู (Index)
/ 0

Press the ↑/↓ arrow keys on the keyboard to step one row at a time. กดลูกศร ↑/↓ บนคีย์บอร์ดเพื่อเลื่อนทีละแถว

Peak / Centroid Search Rangeช่วงหา Peak / Centroid
Spectrum Column Rangeช่วงคอลัมน์ Spectrum
CIE Point Colorสีจุดในกราฟ CIE
Spectrum — Full Rangeสเปกตรัม — เต็มช่วง
Rawค่าดิบ Smoothค่า smooth Rn≥0.5 regionช่วง Rn≥0.5 FWHM / peak maxFWHM / ยอด peak CentroidCentroid
Spectrum — Peak Zoomสเปกตรัม — ซูมช่วง Peak
Rawค่าดิบ Smoothค่า smooth Rn≥0.5 regionช่วง Rn≥0.5 FWHM / peak maxFWHM / ยอด peak CentroidCentroid
Labelling Tableตาราง Label

Choose the data each column shows from the dropdowns in the table header (up to 6 columns). The last (6th) column is editable — click a cell to change its value. เลือกข้อมูลที่จะแสดงในแต่ละคอลัมน์จาก dropdown ที่หัวตาราง (เลือกได้ 6 คอลัมน์) ส่วนคอลัมน์สุดท้าย (ที่ 6) แก้ไขได้ — คลิกที่ cell เพื่อแก้ไขค่า

CIE 1931 xy Diagramไดอะแกรม CIE 1931 xy

Background colors are approximate, because many chromaticities fall outside the display's sRGB gamut. Scroll to zoom, click a point to select its row. Boundary: CIE spectral chromaticity coordinates [6]. สีพื้นหลังเป็นค่าประมาณ เพราะหลายตำแหน่งสีอยู่นอกขอบเขตสี sRGB ของจอภาพ เลื่อนล้อเมาส์เพื่อซูม คลิกจุดเพื่อเลือกแถว เส้นขอบ: ค่าพิกัดสี spectral chromaticity ของ CIE [6]

CIE L*a*b* (3D)CIE L*a*b* (3 มิติ)

Drag to rotate, Shift+drag or right-drag to pan, scroll to zoom, click a point to select its row. Point colors use the same column as the xy diagram. ลากเพื่อหมุนกราฟ, กด Shift ค้างแล้วลาก หรือลากด้วยปุ่มขวาเพื่อเลื่อนกราฟ, เลื่อนล้อเมาส์เพื่อซูม, คลิกจุดเพื่อเลือกแถว สีของจุดใช้คอลัมน์เดียวกับไดอะแกรม xy

CIE a*b* (2D)CIE a*b* (2 มิติ)
70

Background = a constant-L* slice (approximate screen colors, display only), ★ = neutral point a* = b* = 0. "Hue only" shows every hue at full chroma so the direction of pale samples is easier to see. Drag to pan, scroll to zoom, click a point to select its row. พื้นหลังคือระนาบ L* คงที่ (สีบนจอเป็นค่าประมาณ ใช้แสดงผลเท่านั้น), ★ คือจุดกลาง a* = b* = 0 ตัวเลือก "แสดงเฉพาะ hue" แสดงทุก hue ที่ chroma สูงสุด ช่วยให้เห็นทิศของตัวอย่างที่สีอ่อนมากได้ง่ายขึ้น ลากเพื่อเลื่อนกราฟ, เลื่อนล้อเมาส์เพื่อซูม, คลิกจุดเพื่อเลือกแถว

Readoutค่าที่คำนวณได้
Selected Pointจุดที่เลือก

Referencesเอกสารอ้างอิง

  1. International Organization for Standardization, ISO 11664-2, Colorimetry — Part 2: CIE Standard Illuminants (D65).
  2. International Commission on Illumination (CIE), CIE 018:2019 / ISO/CIE 11664-1:2019. Accessed: Sep. 29, 2026. [Online]. Available: https://doi.org/10.25039/CIE.DS.xvudnb9b
  3. B. Lindbloom, "Spectral to XYZ," brucelindbloom.com. Accessed: Sep. 29, 2026. [Online]. Available: http://www.brucelindbloom.com/Eqn_Spect_to_XYZ.html
  4. B. Lindbloom, "XYZ to xyY," brucelindbloom.com. Accessed: Sep. 29, 2026. [Online]. Available: http://www.brucelindbloom.com/Eqn_XYZ_to_xyY.html
  5. B. Lindbloom, "XYZ to Lab," brucelindbloom.com. Accessed: Sep. 29, 2026. [Online]. Available: http://www.brucelindbloom.com/Eqn_XYZ_to_Lab.html
  6. International Commission on Illumination (CIE), CIE 2019 (spectral chromaticity coordinates of the spectrum colours). Accessed: Sep. 29, 2026. [Online]. Available: https://doi.org/10.25039/CIE.DS.mifmy4x4
  7. International Commission on Illumination (CIE), CIE 1964 colour-matching functions, 10 degree observer (1 nm steps; source: ISO/CIE 11664-1:2019, Table 2), CIE, Vienna, 2019. Accessed: Nov. 3, 2026. [Online]. Available: https://doi.org/10.25039/CIE.DS.sqksu2n5