Skip to content

Commit d7cb261

Browse files
authored
Update README.md
1 parent 8c2556e commit d7cb261

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

README.md

+73
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,79 @@ Al resaltar partes específicas del script con colores, como mensajes de salida
338338
| No Color | `\033[0m` | |
339339
| Fondo Rojo | `\033[41m` | `echo -e "\033[0;30m\033[41mTexto con fondo rojo y texto negro\033[0m"` |
340340

341+
## Importar colores
342+
343+
```bash
344+
#!/bin/bash
345+
346+
White='\e[0;37m'
347+
Black='\e[0;30m'
348+
Green='\e[0;32m'
349+
Yellow='\e[0;33m'
350+
Blue='\e[0;34m'
351+
Red='\e[0;31m'
352+
Magenta='\e[0;35m'
353+
Cyan='\e[0;36m'
354+
355+
# bold text color
356+
# color de texto en negrita
357+
BBlack='\e[1;30m' # Bold Black
358+
BRed='\e[1;31m' # Bold Red
359+
BGreen='\e[1;32m' # Bold Green
360+
BYellow='\e[1;33m' # Bold Yellow
361+
BBlue='\e[1;34m' # Bold Blue
362+
BMagenta='\e[1;35m' # Bold Magenta
363+
BCyan='\e[1;36m' # Bold Cyan
364+
BWhite='\e[1;37m' # Bold White
365+
366+
# blinking text color codes
367+
# color de texto parpadeante
368+
BkBlue='\e[5;34m' # Blinking Blue
369+
BkRed='\e[5;31m' # Blinking Red
370+
BkGreen='\e[5;32m' # Blinking Green
371+
BkYellow='\e[5;33m' # Blinking Yellow
372+
BkMagenta='\e[5;35m' # Blinking Magenta
373+
BkCyan='\e[5;36m' # Blinking Cyan
374+
375+
# underline text color codes
376+
# códigos de color de texto subrayado
377+
UlBlack='\e[4;30m' # Underline Black
378+
UlRed='\e[4;31m' # Underline Red
379+
UlGreen='\e[4;32m' # Underline Green
380+
UlYellow='\e[4;33m' # Underline Yellow
381+
UlBlue='\e[4;34m' # Underline Blue
382+
UlMagenta='\e[4;35m' # Underline Magenta
383+
UlCyan='\e[4;36m' # Underline Cyan
384+
UlWhite='\e[4;37m' # Underline White
385+
386+
# background color codes
387+
# Definir códigos de color de fondo
388+
BgBlack='\033[40m'
389+
BgRed='\033[41m'
390+
BgGreen='\033[42m'
391+
BgYellow='\033[43m'
392+
BgBlue='\033[44m'
393+
BgMagenta='\033[45m'
394+
BgCyan='\033[46m'
395+
BgWhite='\033[47m'
396+
397+
# Define bright background color codes
398+
# Definir códigos de color de fondo brillante
399+
BkgBrightBlack='\033[40;1m'
400+
BkgBrightRed='\033[41;1m'
401+
BkgBrightGreen='\033[42;1m'
402+
BkgBrightYellow='\033[43;1m'
403+
BkgBrightBlue='\033[44;1m'
404+
BkgBrightMagenta='\033[45;1m'
405+
BkgBrightCyan='\033[46;1m'
406+
BkgBrightWhite='\033[47;1m'
407+
408+
# Reset color
409+
# Restablecer color
410+
Reset='\033[0m'
411+
412+
```
413+
341414
## Ejemplo de interfaz CLI
342415
![GitHub Logo](https://github.com/IamJony/Fast-Youtube-Downloader-Scripts/blob/71e8c0593477b8648f207ba50d5a0433e997360a/example.png?raw=true)
343416
## Web scraping con bash

0 commit comments

Comments
 (0)