Colorimetry, printing & prepress: Technology Home Forum Gallery Contacts Download Articles
Battling tirelessly
We'll Live, we, Sancho,
to see the Golden Age!


Spectral calculator (JavaScript)  •  Russian original
v.21.10.6 Input spectral data 340-830 nm, step from 1 nm; input XYZ or Lab or LCh
Output XYZ, Lab, LCh, Dens, DotGain, TVI, SCTV, Trapping, relative contrast

Entering data from a file CGATS txt, CxF, xml, icc, icm

The calculator takes the files *.txt, *.cxf, *.ti3, *.icc, *.icm, *.lxf, *.dpxf, *.dmxf, *.xml and no larger than 2 megabytes. Files can contain both spectral and colorimetric (XYZ, Lab, LCh) data for the calculation of chromatic adaptation and TVI. The correct formatting of the native data of this CGATS calculator and data for parsing CxF can be viewed by clicking the buttons with examples below, or by clicking the link. Processing of ICC files can take from 6 to 60 seconds. The presence of foreign characters (spaces, commas, points, etc.) in the filenames that do not refer to letters and numbers in the Latin layout can lead to an error reading data from such a file.

Input Spectral or XYZ, xyY, Lab, LCh CGATS Data & CxF data:

Additional features and advanced settings
Force change the dimension of the spectrum:
Force change the type of spectrum (reflection/emission):
it is
for Emission
The number of columns in the visualization table:

Reference Range of colors in the chart:  
TVI and tolerances ±4 of the chart:  
The range of the vertical Y-axis values on the charts DotGain and TVI:
The values of the vertical Y-axis on the graph of local contrasts:

ΔC to
Conversion between the spectral filters:
Colorimetric color coordinate transformation with respect to the new white point (paper), or ISO 12647-2: 2013, tristimulus correction method
  (how it works)
  Illuminant's XYZ in spoiler ChromAdaptation
LCh min: L C h
LCh max: L C h
Filter by:   
and when sorted by hue separate neutral area Chroma values from 0 to:
Sort data by two parameters:
with reference White D50 and CAT02 adaptation
for neutral gray
- Illuminating Engineering Society Method for Evaluating Light Source Color Rendition, Color Rendering Index and Color Quality Scale strictly on NIST 7.4 from CIE

**graphical representation of the spectrum of the sample
also invoked by clicking on the color patches below
Chromatic Adaptation Options
Capture Conditions White Point:
Viewing Conditions White Point:
  Default field XYZ Viewing Conditions are filled with values ​​for the illuminant D50. After copying only Reset button will return the value of WP Viewing Conditions XYZ D50 back.

CIECAM02 additional settings: (includes Fairchild presets, that's the CIE presets)
Capture Conditions Viewing Conditions
Scene average relative luminance:  
Scene adapting luminance:  
Scene surround:  
Viewing surround:  
Colorimetric thesaurus: ISO, CIE and ASTM tables
Superfunctions (authorization required)
Authorization or registrationSample Calculations and with arbitrary tables
Spectral or colorimetric smart smoothing for new target TVI standard curves. The levels of approximation from the initial state of the curves to the target is set, 100 is the maximum, which corresponds to the perfect curves of the increment of semitones from the standard.
Select target curves from the list
Spectralcalc iccGPU™ - creating icc CMYK profile (beta)
White Point XYZ
Black Point XYZ
MatrixFor flawless profile compatibility with Adobe Photoshop
when choosing an illuminant other than D50, we recommend
choosing Bradford (ρ, γ, β) chromatic adaptation
Step 1. Fill in the Relative table CMYKLab Step 2. Table format AToB1
Step 3. Table AToB1 Relative Step 4. Packing AToB1 in 16 bit
 Granularity  L100 in 16 bit 
Step 5. Fill in the CMYKLab perceptual table Step 6. Table format AToB0
Step 7. Table AToB0 Perceptual Step 8. Packing AToB0 in 16 bit
 Granularity  L100 in 16 bit 
Step 9. Required inks Step 10. Inversion of CMYKLab table in BToA1
Step 11. Generating black BToAThe table will be required
in sections 14, 19, 26, 29.
Step 12. Edge of gamut icc BToA
Step 13. Table format BToA1 Step 14. Table BToA1 Relative
Step 15. Packing BToA1 Relative in 16 bit
 Granularity  100 in 16 bit 
Step 16. Fill in the Lab CMYK Perceptual Table Step 17. Table format BToA0
Step 18. Inversion of CMYKLab table in BToA0 Step 19. Table BToA0 Perceptual
Step 20. Packing BToA0 Perceptual in 16 bit
 Granularity  100 in 16 bit 
Step 21. Table Saturation CMYKLab Step 22. Table format AToB2
Step 23. Table AToB2 Saturation Step 24. Packing AToB2 in 16 bit
 Granularity  L100 in 16 bit 
Step 25. Table Saturation LabCMYK Step 26. Generating Black for Saturation
Step 27. Inversion of CMYKLab table in BToA2 Step 28. Table format BToA2
Step 29. Table BToA2 Saturation Step 30. Packing BToA2 Saturation in 16 bit
 Granularity  100 in 16 bit 
Step 31. Creation of Gamut Tag
Step 32. Saving the profile  
Set the profile name in Latin characters:
If an XML file is loaded instead of an ICC file, this is a temporary server-side outage. Follow this simple tutorial on how to reformat XML to ICC.

Output Color CGATS or Density Data:
Scripting and support – Michael Sartakov
Scientific consultants – Alex Gribunin, Alexander Pylsky, Anton Sharakshane
Optimized high-speed CIECAM02 algorithm – Dmitriy Belchuk
Cool Javascript Tips - Fedor Odintsov
Total hits - 108622
Total for the day - 1
Unique today - 1, yesterday - 15, the day before yesterday - 7