A Pen by Joseph Bacal on CodePen.
Last active
May 15, 2021 20:05
-
-
Save bacalj/883c346a5df07ad4bee118c1637063f8 to your computer and use it in GitHub Desktop.
GRWqNGj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div id="app"> | |
| <div class="wrapper"> | |
| <div class="row" v-for="row in rows"> | |
| <div class="colorblock" v-for="c in row":style="{backgroundColor: c }"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| data() { | |
| return { | |
| rows: [ | |
| [ | |
| '#ffffff', | |
| '#e2e2e2', | |
| '#c6c6c6', | |
| '#aaaaaa', | |
| '#8e8e8e', | |
| '#707070', | |
| '#545454', | |
| '#383838', | |
| '#1c1c1c', | |
| '#000000' | |
| ], | |
| [ | |
| '#d8fff8', | |
| '#91ffec', | |
| '#49ffe0', | |
| '#00ffd4', | |
| '#00d8b4', | |
| '#00b799', | |
| '#00967d', | |
| '#007561', | |
| '#005446', | |
| '#00332a' | |
| ], | |
| [ | |
| '#d8ffeb', | |
| '#a3ffd1', | |
| '#6dffb6', | |
| '#38ff9b', | |
| '#00ff7f', | |
| '#00d369', | |
| '#00a854', | |
| '#007c3e', | |
| '#005446', | |
| '#002613' | |
| ], | |
| [ | |
| '#d8ffd8', | |
| '#a3ffa3', | |
| '#6dff6d', | |
| '#38ff38', | |
| '#00ff00', | |
| '#00d600', | |
| '#00ad00', | |
| '#008400', | |
| '#005b00', | |
| '#003300' | |
| ], | |
| [ | |
| '#ebffd8', | |
| '#d1ffa3', | |
| '#b6ff6d', | |
| '#9bff38', | |
| '#7fff00', | |
| '#6cd800', | |
| '#59b200', | |
| '#468c00', | |
| '#336600', | |
| '#1f3f00' | |
| ], | |
| [ | |
| '#ffffd8', | |
| '#ffff91', | |
| '#ffff49', | |
| '#ffff00', | |
| '#d8d800', | |
| '#b7b700', | |
| '#969600', | |
| '#757500', | |
| '#545400', | |
| '#333300' | |
| ], | |
| [ | |
| '#fff5d8', | |
| '#ffeaad', | |
| '#ffdf82', | |
| '#ffd456', | |
| '#ffca2b', | |
| '#ffbf00', | |
| '#cc9900', | |
| '#997200', | |
| '#664c00', | |
| '#332600' | |
| ], | |
| [ | |
| '#ffebd8', | |
| '#ffd6ad', | |
| '#ffc082', | |
| '#ffaa56', | |
| '#ff952b', | |
| '#ff7f00', | |
| '#d16800', | |
| '#a05000', | |
| '#703800', | |
| '#3f1f00' | |
| ], | |
| [ | |
| '#ffe2d8', | |
| '#ffc1ad', | |
| '#ffa182', | |
| '#ff8056', | |
| '#ff602b', | |
| '#ff3f00', | |
| '#d63500', | |
| '#a82a00', | |
| '#7a1e00', | |
| '#4c1300' | |
| ], | |
| [ | |
| '#ffd8d8', | |
| '#ffadad', | |
| '#ff8282', | |
| '#ff5656', | |
| '#ff2b2b', | |
| '#ff0000', | |
| '#d10000', | |
| '#a00000', | |
| '#700000', | |
| '#3f0000' | |
| ], | |
| [ | |
| '#ffd8eb', | |
| '#ffadd6', | |
| '#ff82c0', | |
| '#ff56aa', | |
| '#ff2b95', | |
| '#ff007f', | |
| '#cc0066', | |
| '#99004c', | |
| '#660033', | |
| '#330019' | |
| ], | |
| [ | |
| '#ffd8ff', | |
| '#ffa3ff', | |
| '#ff6dff', | |
| '#ff38ff', | |
| '#ff00ff', | |
| '#d600d6', | |
| '#ad00ad', | |
| '#840084', | |
| '#5b005b', | |
| '#330033' | |
| ], | |
| [ | |
| '#ebd8ff', | |
| '#d6adff', | |
| '#c082ff', | |
| '#aa56ff', | |
| '#952bff', | |
| '#7f00ff', | |
| '#6600cc', | |
| '#4c0099', | |
| '#330066', | |
| '#190033' | |
| ], | |
| [ | |
| '#d8d8ff', | |
| '#adadff', | |
| '#8282ff', | |
| '#5656ff', | |
| '#2b2bff', | |
| '#0000ff', | |
| '#0000d1', | |
| '#0000a0', | |
| '#000070', | |
| '#00003f' | |
| ], | |
| [ | |
| '#d8e5ff', | |
| '#adc8ff', | |
| '#82abff', | |
| '#568eff', | |
| '#2b71ff', | |
| '#0055ff', | |
| '#0044cc', | |
| '#003399', | |
| '#002266', | |
| '#001133' | |
| ], | |
| [ | |
| '#d8f2ff', | |
| '#a3e0ff', | |
| '#6dceff', | |
| '#38bcff', | |
| '#00a9ff', | |
| '#008ed6', | |
| '#0073ad', | |
| '#005884', | |
| '#003d5b', | |
| '#002133' | |
| ] | |
| ] | |
| }; | |
| }, | |
| }; | |
| </script> | |
| <style> | |
| .row { | |
| padding:2px; | |
| width:220px; | |
| } | |
| .colorblock { | |
| width: 20px; | |
| height: 20px; | |
| margin: 1px; | |
| float:right; | |
| } | |
| </style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment