As it pertains to general desktop use, an ICC profile is a binary file which contains precise data regarding the color attributes of an input, or output device. Single, or multiple profiles can be applied across a system and its devices to produce consistent and repeatable results for graphic and document editing and publishing. ICC profiles are typically calibrated with a (tristimulus) colorimeter, or a spectrophotometer when absolute color accuracy is required.
- 1 Utilities
- 2 Profile generation
- 2.1 Colorimeter or spectrometer
- 2.2 Argyll CMS
- 2.3 Monitor calibration and profiling with additional calibration hardware
- 2.4 Scanner calibration
- 2.5 Printer calibration
- 2.6 File transfer
- 2.7 Gnome Color Manager
- 2.8 LPROF ICC Profiler
- 2.9 ThinkPads
- 3 Loading ICC profiles
- 4 Applications that support ICC profiles
- 5 See also
- ArgyllCMS — ICC compatible color management system. It supports accurate ICC profile creation for scanners, cameras and film recorders, and calibration and profiling of displays and RGB & CMYK printers.
- ColorHug — The Hughski ColorHug Colorimeter is a low cost open-source hardware sensor used to calibrate screens. This package includes the client tools which allows the user to upgrade the firmware on the sensor or to query the sensor from command line scripts.
- DisplayCAL — Display calibration and profiling solution with a focus on accuracy and versatility. At its core it relies on ArgyllCMS color management system, to take measurements, create calibrations and profiles, and for a variety of other advanced color related tasks.
- GNOME Color Manager — Set of graphical utilities for color management to be used in the GNOME desktop.
- xcalib — Lightweight monitor calibration loader which can load an ICC monitor profile to be shared across desktop applications.
Color management is a workflow of hardware calibration, software profiling and embedding the profile into the picture or video. It's all based on using an ICC profile.
Colorimeter or spectrometer
It is highly recommended to use a colorimeter or spectrometer device for hardware-assisted display, printer and scanner calibration. For home use there are several affordable colorimeters available. Some are well- or even better-supported under Linux than on other operating systems. Frequently recommended devices are X-Rite ColorMunki Display, DataColor Spyder5 Express and the open source hardware ColorHug. You can find more Linux-supported devices listed in the AgyllCMS documentation.
The Argyll Color Management System is a complete suite of command-line profile creation and loading tools listed under .
Review the official Argyll CMS documentation for details on how to profile selected devices.
Monitor calibration and profiling with additional calibration hardware
There is a GUI frontend for ArgyllCMS called DisplayCal, available as . In most common cases you will want to use its default settings. It is a common way to calibrate to a daylight color of 6500K and gamma 2,2. Read the DispalGui documentation for more. Many tutorials are available on the net.
Follow the scanner part of the scanner calibration tutorial.
Profile generation on a Windows or macOS system is one of the easiest and most widely recommended methods to obtain a ICC monitor profile. Since ICC color profiles are written to an open specification, they are compatible across operating systems. Transferring profiles from one OS to another can be used as a workaround for the lack of support for certain spectrophotometers or colorimeters under Linux: one can simply produce a profile on a different OS and then use it in a Linux workflow. Note that the system on which the profile is generated must host the exact same video card and monitor for which the profile is to be used. Once generation of an ICC profile, or a series of profiles is complete on a Windows system, copy the file(s) from the default path:
macOS generally stores saved ICC profiles in one of two locations:
Once the appropriate
.icc/.icm files have been copied, install the device profiles to your desired system. Common installation device profiles directories on Linux include:
/usr/share/color/icc /usr/local/share/color/icc /home/USER_NAME/.color/icc
Gnome Color Manager
On Gnome, an ICC profile can easily be created by using. Under Gnome, this is accessible via the Control Center and is pretty straightforward to use. You'll need a colorimeter device to use this feature.
Ensure gnome-settings-daemon is started, and run:
$ colormgr get-devices
Look for the
Device ID line of your monitor. If this is e.g.
xrandr-Lenovo Group Limited, start calibration with the command:
gcm-calibrate --device "xrandr-Lenovo Group Limited"
LPROF ICC Profiler
Adjust the lighting in the room to what you will be using when working. Even if your screen is coated with an anti-reflective coating, you should avoid light falling directly on it. Let your monitor warm up for at least an hour for the image to get stabilized. If your calibration device has an ambient diffuser, adjust your room brightness to reach the recommended target lux point.
- Set the monitor contrast to maximum, or 100%.
- Next, display a pure black over entire screen by creating a small, black PNG image (all pixels have RGB = 0, 0, 0) and opening it up in a picture viewer that is capable of displaying an image in fullscreen mode without any controls.
- Reduce the vertical size of the monitor screen (not the PNG image displayed by a picture viewer but the whole of what's displayed on the screen) to 60% to 70% of the full height. What is revealed above and below the picture is called a non-scanned area, and since that area is not receiving any voltage, it is the blackest of black your monitor is capable of displaying.
- Locate the brightness control (usually a sun, circle with rays projecting from it's edges) and lower the value until the black image matches the non-scanned area.
As we said in the introduction, setting color temperature must occur at noon. If you only have fixed factory default color temperature, you do not really need to wait for the sunny day to come. Just set it to 6500K.
Place your monitor so that you can see outside the window and your screen at the same time. For this step, you also need to create a white square image (RGB = 255, 255, 255), roughly 10 by 10 centimeters (4 by 3 inches). Using the same Gwenview technique as with brightness/contrast, display the white square on a pure black background.
- First, prepare your eyes by staring at the outside world for a while. Let them adjust to the daylight viewing condition for a few minutes.
- Glance at the monitor, and the white square for a few second (it has to be short, because eyes will readjust quickly).
- If the square seems yellowish, you need higher color temperature, or if it has a blueish cast, the temperature needs to be lowered.
- Keep glancing, looking out the window, and adjusting the white temperature, until the square looks pure white
Take your time with the steps described above. It is essential to get it right.
Monitor profiling without additional calibration hardware
Start lprof. You will be presented by a fairly large window with multiple tabs on the right.
- Click on the Monitor Profiler tab. Then click on the large Enter monitor values >> button.
- White point should be set to 6500K (daylight).
- Primaries should be set to either SMPTE RP145-1994, or EBU Tech.3213-E or P22, or whatever appropriate values for your monitor. If you come across correct values for your monitor, enter those by selecting User Defined from the drop-down. If in doubt, you may use P22 for all monitors with Trinitron CRTs (in this case, Trinitron is not related to Sony Trinitron mointors and TVs), and SMPTE RP145-1994 for other CRTs.
- Click the Set Gamma and Black Point button.
- You will now see a full-screen view of two charts with some controls at the bottom.
- Uncheck the Link channels check-box and adjust individual Red, Green, and Blue gamma by either moving the slider left or right, or by entering and changing values in the three boxes to the left. The goal is to make the chart on the left (the smaller square one) flat. When you are satisfied with how it looks, check the Link channels check-box and adjust the gamma again.
- When you are done, click OK. Click OK again.
When you are finished entering monitor values, you might want to enter some information about the monitor. This is not mandatory, but it is always nice to know what profile is for what.
- Click Profile identification button.
- Fill in the data.
- Click OK to finish.
After you are all done, click on the '...' button next to Output Profile File box. Enter the name of your profile: somemonitor.icc. Click Create Profile button, and you are done.
Loading ICC profiles
ICC profiles are loaded either by the session daemon or by a dedicated ICC loader. Both Gnome and KDE have daemons capable of loading ICC profiles from xiccd, which does the same but does not depend on your desktop environment. Do not start two ICC-capable daemons (e.g. gnome-settings-daemon and AUR) at the same time.. If you use colord in combination with either or , the profile will be loaded automatically. If you're not using either Gnome or KDE, you may install an independent daemon,
If you're not using any ICC-capable session daemon, make sure you use only one ICC loader - either xcalib, dispwin, dispcalGUI-apply-profiles or others. Otherwise, you can easily end up with an uncontrolled environment. (The most recently run loader sets the calibration, and the earlier loaded calibration is overwritten.)
Before using a particular ICC loader, you should understand that some tools set only the calibration curves (e.g. xcalib), some tools set only the display profile to X.org _ICC_PROFILE atom (e.g. xicc), and other tools do both tasks at once (e.g. dispwin, dispcalGUI-apply-profiles).
- AURis a simple bridge between colord and X. It allows non-Gnome and non-KDE desktop environment to load and apply icc profiles.
Install xiccd. Make sure colord installed and autorun the colord.service at every system startup(systemd).
xiccd in a terminal as a backend and ignore the verbose messages.
This will enumerate displays and register them for colormgr(colord).
colormgr in an another terminal. Mark your
device id there shows.
$ colormgr get-devices
Copy your icc profiles to the directory.
# cp icc_profile /usr/share/color/icc/colord/
profile id which you added and want to use.
$ colormgr get-profiles
Add your profile to the display device.
# colormgr device-add-profile device_id profile_id
Make the profile as the default to the display device.
# colormgr device-make-profile-default device_id profile_id
Make the xiccd autorun at system startup.
# vim /etc/xdg/autostart/xiccd.desktop
[Desktop Entry] Encoding=UTF-8 Name=xiccd GenericName=X color management daemon Comment=Applies color management profiles to your session Exec=xiccd Terminal=false Type=Application Categories=OnlyShowIn=XFCE;MATE;LXDE;
Close all terminals, and reboot the system to check whether the icc profile applying well.
$ colormgr get-devices
- xcalib is a lightweight monitor calibration loader which can load an ICC monitor profile to be shared across desktop applications. AUR is part of the Arch User Repository (AUR).
/usr/share/color/icc on display host:0 when X server starts
#!/bin/bash /usr/bin/xcalib -d :0 /usr/share/color/icc/P221W-sRGB.icc
/usr/local/share/color/icc on display host:0 when JWM starts
<StartupCommand>xcalib -d :0 /usr/local/share/color/icc/P221W-Native.icc
- dispwin is a part of .
/home/arch/.color/icc on display 0 when X server starts
#!/bin/bash /usr/bin/dispwin -d0 /home/arch/.color/icc/906w-6500K.icc
Load Argyll calibration file
/usr/local/share/color/icc on display 1 when JWM starts
<StartupCommand>dispwin -d1 /usr/local/share/color/icc/906w-7000K.cal
You can easily use one of these loaders to apply the color profile in early boot stage when starting a display manager, e.g. using LightDM startup script. This allows to load a single icc profile file. This won't work with loading several profile files when using a multi monitopr setup.
Applications that support ICC profiles
- Xsane can use ICC profiles for color-corrected scanning.
- CUPS can use ICC profiles for color-corrected printing using Colord, but the actual implementation and usability is unclear.
- GIMP can use ICC profiles for display of the image being edited. The use of the installed ICC profile has to be explicitly enabled in the settings dialog, though.
- mpv can take an ICC profile into account when playing a video. The command line argument is:
--vo=opengldoes color management; other VO drivers will silently ignore the ICC profile options.
- Firefox, by default, uses the system-wide ICC profile only when displaying images that are already tagged with an ICC profile. To assume that untagged images use sRGB and apply color correction also to them, set the
gfx.color_management.modepreference to 1. Firefox can also use an ICC profile using the configuration option
- Both Eye of Gnome ( ) and Eye of MATE ( ) automatically use the system-installed ICC profile.
- Using LPROF to profile monitors - Additional details on how to profile monitors
- Wikipedia:Linux color management
- Argyll Color Management System - Official Site
- LPROF Main Help Window - Details on profiling printers and scanners
- DisplayCal: Basic concept of display calibration and profiling
- Display color profiling on Linux (XFCE)
- Monitor Hardware Calibration