diff --git a/modules/display-filter-lcms.c b/modules/display-filter-lcms.c
index 7e4f584..ca8be76 100644
--- a/modules/display-filter-lcms.c
+++ b/modules/display-filter-lcms.c
@@ -417,9 +417,9 @@ cdisplay_lcms_changed (GimpColorDisplay *display)
 
           gimp_rgb_get_uchar (&config->out_of_gamut_color, &r, &g, &b);
 
-          alarmCodes[0] = (cmsUInt16Number) r;
-          alarmCodes[1] = (cmsUInt16Number) g;
-          alarmCodes[2] = (cmsUInt16Number) b;
+          alarmCodes[0] = (cmsUInt16Number) r*256;
+          alarmCodes[1] = (cmsUInt16Number) g*256;
+          alarmCodes[2] = (cmsUInt16Number) b*256;
 
           cmsSetAlarmCodes (alarmCodes);
         }
