[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] Color Helpfile / GUI with X Window colors buttons



I think the alice colors are at Staples:

http://www.youtube.com/watch?v=OqI4xfsdv7Y

Josh

On Nov 25, 2007, at 7:39 AM, James Harkins wrote:

On Nov 25, 2007, at 9:51 AM, Tom Hall wrote:

(Note I have changed the XWindows data format from
'alice blue' -> Color.new255(240, 248, 255)
to
'alice blue' -> [240, 248, 255]
so as to be able to post the color data in 8-bit format,
otherwise:
a =  'alice blue' -> Color.new255(240, 248, 255)
a.value // => Color(0.94117647058824, 0.97254901960784, 1.0, 1.0)
Unless there is a method to retrieve the 8-bit format from the floats?

0.94117647058824 * 255 == 240

?

hjh


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-devel

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/