Color wheel: Difference between revisions
Content deleted Content added
Applesoft BASIC |
|||
Line 494:
<div style="text-align: center; vertical-align: middle; background-color: #000; width: 80px; height: 80px"><br /><div style="font-family: monospace; font-size: 8px; line-height: 0.5em"><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #00ffff"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #0062ff"> </span><span style="background-color: #1a9aff"> </span><span style="background-color: #2ccdff"> </span><span style="background-color: #33ffff"> </span><span style="background-color: #2cffcd"> </span><span style="background-color: #1aff9a"> </span><span style="background-color: #00ff62"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #001dff"> </span><span style="background-color: #265cff"> </span><span style="background-color: #4797ff"> </span><span style="background-color: #5dcdff"> </span><span style="background-color: #66ffff"> </span><span style="background-color: #5dffcd"> </span><span style="background-color: #47ff97"> </span><span style="background-color: #26ff5c"> </span><span style="background-color: #00ff1d"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #271aff"> </span><span style="background-color: #4752ff"> </span><span style="background-color: #6e92ff"> </span><span style="background-color: #8cccff"> </span><span style="background-color: #99ffff"> </span><span style="background-color: #8cffcc"> </span><span style="background-color: #6eff92"> </span><span style="background-color: #47ff52"> </span><span style="background-color: #27ff1a"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #642cff"> </span><span style="background-color: #7c5dff"> </span><span style="background-color: #938cff"> </span><span style="background-color: #b6c8ff"> </span><span style="background-color: #ccffff"> </span><span style="background-color: #b6ffc8"> </span><span style="background-color: #93ff8c"> </span><span style="background-color: #7cff5d"> </span><span style="background-color: #64ff2c"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #7f00ff"> </span><span style="background-color: #9933ff"> </span><span style="background-color: #b266ff"> </span><span style="background-color: #cc99ff"> </span><span style="background-color: #e5ccff"> </span><span style="background-color: #ffffff"> </span><span style="background-color: #e5ffcc"> </span><span style="background-color: #ccff99"> </span><span style="background-color: #b2ff66"> </span><span style="background-color: #99ff33"> </span><span style="background-color: #7fff00"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #c72cff"> </span><span style="background-color: #df5dff"> </span><span style="background-color: #f88cff"> </span><span style="background-color: #ffb6ec"> </span><span style="background-color: #ffcccc"> </span><span style="background-color: #ffecb6"> </span><span style="background-color: #f8ff8c"> </span><span style="background-color: #dfff5d"> </span><span style="background-color: #c7ff2c"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #f11aff"> </span><span style="background-color: #ff47f3"> </span><span style="background-color: #ff6eda"> </span><span style="background-color: #ff8cbf"> </span><span style="background-color: #ff9999"> </span><span style="background-color: #ffbf8c"> </span><span style="background-color: #ffda6e"> </span><span style="background-color: #fff347"> </span><span style="background-color: #f1ff1a"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #ff00e1"> </span><span style="background-color: #ff26c8"> </span><span style="background-color: #ff47ae"> </span><span style="background-color: #ff5d8f"> </span><span style="background-color: #ff6666"> </span><span style="background-color: #ff8f5d"> </span><span style="background-color: #ffae47"> </span><span style="background-color: #ffc826"> </span><span style="background-color: #ffe100"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #ff009c"> </span><span style="background-color: #ff1a7f"> </span><span style="background-color: #ff2c5d"> </span><span style="background-color: #ff3333"> </span><span style="background-color: #ff5d2c"> </span><span style="background-color: #ff7f1a"> </span><span style="background-color: #ff9c00"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #ff0000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><br /><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><span style="background-color: #000"> </span><br /></div></div>
Here's an online implementation for [https://jsoftware.github.io/j-playground/bin/html2/#code=rgbc%3D%3A%20%7B%7B1-x*0%3E.1%3C.%28%3C.4%26-%296%7Cm%2By%2560%7D%7D%0Ahsv%3D%3A%205%20rgbc%28%2C%220%201%29%203%20rgbc%28%2C%220%29%201%20rgbc%0Adegrees%3D%3A%20%7B%7B180p_1*%7B%3A%221%2B.%5E.y%7D%7D%0Awheel%3D%3A%20%7B%7B%28%281%3E%3A%7C%29*%7Chsv%20degrees%29j.%2F~y%25~i%3Ay%7D%7D%0Arequire'viewmat'%0A'rgb'%20viewmat%20256%23.%3C.255*wheel%2080 wheel 80] (hit "Run" in the upper right corner).
=={{header|Java}}==
|