🔄 Color Temperature (Kelvin) Converter

Convert between Kelvin colour temperature and RGB to understand white balance and light colour for photography and design.

📐 工作原理與說明
Tanner Helland 近似:按溫度分段冪函式求 R/G/B,如 R = 329.7·(T/100 − 60)^(−0.1332)(T 為開爾文)
基於黑體輻射的螢幕近似演算法:把色溫 K 對映為可顯示的 RGB(非線性、僅近似,非精確光譜),反向亦可由 RGB 估計色溫(同樣搜尋 1000–40000K,並顯示擬合色差與不確定性);用於攝影白平衡與燈光色彩參考。
💡 常見光源:
蠟燭 1800K 白熾燈 2700K 暖光 3200K 熒光燈 4500K 日光 5500K 陰天 6500K 藍天 9000K+

📚 深度解析:色溫轉換(開爾文)

💡 常見使用場景

  • 把 6500K 轉成螢幕白點 RGB。
  • 估算燭光/日光燈的顏色。
  • 調攝影白平衡參考。
6500K 轉 RGB

輸入:色溫 6500K。

處理:按近似 Planck 曲線對映。

輸出:約 rgb(255,255,255),即標準日光白。

❓ 常見問題(FAQ)

低色溫偏什麼?
偏低(如 2700K)偏暖黃,偏高(如 9000K)偏冷藍。結果以瀏覽器即時計算為準,純前端本地處理、資料不上傳;生成的樣式與程式碼僅作快速產出參考,正式專案請以設計系統、規範與瀏覽器實測為準。
兩種色對比度不夠會提示嗎?
本頁專注色溫換算與 RGB/HEX 互轉,不提供雙色對比度檢查;需要核驗文字與背景可讀性請用對比度檢查器。
會儲存或上傳我的內容嗎?
結果以瀏覽器即時計算為準,純前端本地處理、資料不上傳;生成的樣式與程式碼僅作快速產出參考,正式專案請以設計系統、規範與瀏覽器實測為準。

Formula & Standard References

Item Formula / Note Source / Standard
Black-body radiation colour temperature is defined by the Planckian radiator spectrum CIE 15:2004
Correlated colour temperature off-locus colours use the nearest point plus a Duv offset CIE 15:2004 / CIE 224:2017
Standard illuminants D65 near 6500 K models daylight, illuminant A near 2856 K models incandescent ISO 3664 / CIE D65
⚠️ 使用說明與注意事項