CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Colors By RGBA Value</title> <style> .color-group{ background: #f4f4fb; display: flex; flex-wrap: wrap; } .single-color{ border-radius: 4px; flex: 40%; display: block; text-align: center; padding-top: 20px; padding-bottom: 20px; margin: 2px; box-sizing: border-box; } .bg-pattern{ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAATklEQVQoU2NkYGAwZmBgOMuAACA+CKCIMSIpADGRNaEYgKwQ3WQUjTCF6CYhWw2WAynEpgjmIpg7jUlSiM0TWK2GWUOUZ7ApxggeogIcABHJFtftKVfJAAAAAElFTkSuQmCC) repeat; } </style> </head> <body> <h2>These are some of Colors By RGBA Values</h2> <div class="color-group bg-pattern"> <div class="single-color" style="background:rgba(255, 0, 0, 0.0);"> rgba(255, 0, 0, 0.0) </div> <div class="single-color" style="background:rgba(255, 0, 0, 0.2);"> rgba(255, 0, 0, 0.2) </div> <div class="single-color" style="background:rgba(255, 0, 0, 0.4);"> rgba(255, 0, 0, 0.4) </div> <div class="single-color" style="background:rgba(255, 0, 0, 0.6);"> rgba(255, 0, 0, 0.6) </div> <div class="single-color" style="background:rgba(255, 0, 0, 0.8);"> rgba(255, 0, 0, 0.8) </div> <div class="single-color" style="background:rgba(255, 0, 0, 1.0);"> rgba(255, 0, 0, 1.0) </div> <div class="single-color" style="background:rgba(0, 255, 0, 0.0);"> rgba(0, 255, 0, 0.0) </div> <div class="single-color" style="background:rgba(0, 255, 0, 0.2);"> rgba(0, 255, 0, 0.2) </div> <div class="single-color" style="background:rgba(0, 255, 0, 0.4);"> rgba(0, 255, 0, 0.4) </div> <div class="single-color" style="background:rgba(0, 255, 0, 0.6);"> rgba(0, 255, 0, 0.6) </div> <div class="single-color" style="background:rgba(0, 255, 0, 0.8);"> rgba(0, 255, 0, 0.8) </div> <div class="single-color" style="background:rgba(0, 255, 0, 1.0);"> rgba(0, 255, 0, 1.0) </div> <div class="single-color" style="background:rgba(0, 0, 255, 0.0);"> rgba(0, 0, 255, 0.0) </div> <div class="single-color" style="background:rgba(0, 0, 255, 0.2);"> rgba(0, 0, 255, 0.2) </div> <div class="single-color" style="background:rgba(0, 0, 255, 0.4);"> rgba(0, 0, 255, 0.4) </div> <div class="single-color" style="background:rgba(0, 0, 255, 0.6);"> rgba(0, 0, 255, 0.6) </div> <div class="single-color" style="background:rgba(0, 0, 255, 0.8);"> rgba(0, 0, 255, 0.8) </div> <div class="single-color" style="background:rgba(0, 0, 255, 1.0);"> rgba(0, 0, 255, 1.0) </div> </div> </body> </html>
Editor Commands
Ctrl
F
Find
Ctrl
G
Find Next
Ctrl
⇧
G
Find Previous
Ctrl
⇧
F
Find & Replace
Ctrl
]
Indent Code Right
Ctrl
[
Indent Code Left
⇧
Tab
Auto Indent Code
Ctrl
/
Line Comment
Ctrl
Alt
/
Block Comment
TutsInsider Actions
Alt
S
Run Code
Ctrl
C
Copy Editor Code
Ctrl
A
Select All Editor Code
Ctrl
S
Save/Download
Ctrl
Alt
X
Rotate
Ctrl
Alt
T
Switch Theme
Ctrl
⇧
C
Open Console
Esc
Close Console