CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Colors By RGB 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; } </style> </head> <body> <h2>These are some of RGB Colors</h2> <div class="color-group"> <div class="single-color" style="background:rgb(255,0,0);"> Red rgb(255,0,0) </div> <div class="single-color" style="background:rgb(0,255,0);"> Green rgb(0,255,0) </div> <div class="single-color" style="background:rgb(0,0,255);"> Blue rgb(0,0,255) </div> <div class="single-color" style="background:rgb(255,255,255);"> White rgb(255,255,255) </div> <div class="single-color" style="background:rgb(0,0,0); color: white;"> Black rgb(0,0,0) </div> <div class="single-color" style="background:rgb(255,0,0);"> rgb(255,120,120) </div> <div class="single-color" style="background:rgb(120,255,120);"> rgb(120,255,120) </div> <div class="single-color" style="background:rgb(120,120,255);"> rgb(0,0,255) </div> <div class="single-color" style="background:rgb(120,255,255);"> rgb(120,255,255) </div> <div class="single-color" style="background:rgb(120,120,120); color: white;"> rgb(120,120,120) </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