Created
January 6, 2020 02:58
-
-
Save cmplstofB/f1a9a487c28af707ecdf40bbdccd48b7 to your computer and use it in GitHub Desktop.
POSIX m4で10進rgb()函数による色指定を16値#指令による色指定に変更する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changequote(`[', `]')dnl | |
define([rgb], [[#]][[]][eval($1, 16, 2)][[]][eval($2, 16, 2)][[]][eval($3, 16, 2)])dnl | |
rgb(10, 132, 255) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment