Color of a screen pixel: Difference between revisions
Content deleted Content added
Added PicoLisp |
|||
Line 111: | Line 111: | ||
return new Robot().getPixelColor(x, y); |
return new Robot().getPixelColor(x, y); |
||
}</lang> |
}</lang> |
||
=={{header|PicoLisp}}== |
|||
Using '[http://www.muquit.com/muquit/software/grabc/grabc.html grabc]' |
|||
as recommended in the C solution |
|||
<lang PicoLisp>(in '(grabc) |
|||
(mapcar hex (cdr (line NIL 1 2 2 2))) )</lang> |
|||
Output: |
|||
<pre>73,61,205 |
|||
-> (73 61 205)</pre> |
|||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |