--- rxvt-unicode/src/command.C 2016/06/30 17:22:54 1.580 +++ rxvt-unicode/src/command.C 2016/07/05 16:42:21 1.581 @@ -4088,6 +4088,8 @@ { idx = minCOLOR + arg[i + 2]; i += 2; + + scr_color (idx, fgbg); } else if (nargs > i + 4 && arg[i + 1] == 2) { @@ -4099,9 +4101,9 @@ idx = map_rgb24_color (r, g, b, a); i += 4; - } - scr_color (idx, fgbg); + scr_color (idx, fgbg); + } } break;