Lines Matching defs:rval
18 rval = int(round(r * 255))
23 line = "%3s %3s %3s Black" % (rval, gval, bval)
25 line = "%3s %3s %3s White" % (rval, gval, bval)
27 line = "%3s %3s %3s %s%% Gray" % (rval, gval, bval, 100 - int(level * 100))
34 rval = int(round(r * 255))
37 print "%3s %3s %3s %s%% Gray" % (rval, gval, bval, 100 - (level_m * 100))
41 rval = int(round(r * 255))
44 print "%3s %3s %3s %s%% Gray" % (rval, gval, bval, 100 - int(level_m * 100))
48 rval = int(round(r * 255))
51 print "%3s %3s %3s %s%% Gray" % (rval, gval, bval, 100 - (level_mm * 100))
86 rval = int(round(r * 255))
90 line = "%3s %3s %3s #%02X%02X%02X" % (rval, gval, bval, rval, gval, bval)