{"id":1681,"date":"2025-04-02T14:04:03","date_gmt":"2025-04-02T14:04:03","guid":{"rendered":"\/blog\/?p=1681"},"modified":"2025-04-02T14:04:03","modified_gmt":"2025-04-02T14:04:03","slug":"print-all-available-ansi-colors","status":"publish","type":"post","link":"\/blog\/index.php\/print-all-available-ansi-colors\/","title":{"rendered":"print all available ansi colors"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code><code>#!\/bin\/bash\n\ncolor=16;\n\nwhile &#91; $color -lt 245 ]; do\n    echo -e \"$color: \\\\033&#91;38;5;${color}mhello\\\\033&#91;48;5;${color}mworld\\\\033&#91;0m\"\n    ((color++));\ndone  <\/code><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1681","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1681"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1681\/revisions"}],"predecessor-version":[{"id":1682,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1681\/revisions\/1682"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1681"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}