#!/bin/bash
echo '
256色
前: 38;05;色番号
背: 48;05;色番号
'
for i in {0..255} ; do
printf "\x1b[38;05;${i}m 38;05;${i} "
done
echo ''
for i in {0..255} ; do
printf "\x1b[48;05;${i}m 48;05;${i} "
done
echo ''
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme