è² \(\mathcal{C}\) ã®è²çž \(h \:(0 \le h \lt 360)\)ãåæ±ã¢ãã«ã®åœ©åºŠ \(s\)ãåéã¢ãã«ã®åœ©åºŠ \(s'\)ãèŒåºŠ \(l \:(0 \le s,s',l \le 1)\)ãèµ€ç·éãšãã®æå°å€ã»æå€§å€ \(r,g,b,L,U \:(0 \le r,g,b,L,U \le 1)\) ãšãããšã \[L = \min\left\{r, g, b\right\},\quad U = \max\left\{r, g, b\right\},\] \[s = \dfrac{U - L}{1 - |U + L - 1|},\quad s' = U - L,\] \[l = \dfrac{U + L}{2}.\]
ã¡ãªã¿ã«ã\(s\) ãš \(s'\) ã€ãŸãåæ±ã¢ãã«ãšåéã¢ãã«ã®é¢ä¿ã¯ããã§åŸãããã \[s = \dfrac{s'}{1 - |U + L - 1|}.\]
ããã«ã以äžã®ããã«å Žååããããã \[j = \begin{cases} 1 &\text{ if \(L = r\) or \(L = r = g\) or \(L = r = b\)},\\ 2 &\text{ if \(L = g\) or \(L = g = b\) or \(L = g = r\)},\\ 0 &\text{ if \(L = b\) or \(L = b = r\) or \(L = b = g\)},\\ \text{undefined} &\text{ otherwise}. \end{cases}\] ãããšã以äžã®ããã« HSL è²ç©ºéã¢ãã«ã®å€ãæ±ããããšãã§ããã \[h = \begin{cases} 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(j = 0\)},\\ 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(j = 1\)},\\ 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(j = 2\)},\\ 360 &\text{ otherwise}. \end{cases}\] \(h = 360\) ã¯å®çŸ©åå€ãã€ãŸãã\(L = U\) ã®ãšããŒãé€ç®ãšãªãæªå®çŸ©ã®æå³ããªããŠããã
ãã®åŒã®æå³ã¯ã \(j = 0\) ã®ãšã㯠\(60\degree\) ãäžå¿ã« \(r \gt g\) ãªã \(0\degree\) æ¹åã«ã\(r \lt g\) ãªã \(120\degree\) æ¹åã«ã \(j = 1\) ã®ãšã㯠\(180\degree\) ãäžå¿ã« \(g \gt b\) ãªã \(120\degree\) æ¹åã«ã\(g \lt b\) ãªã \(240\degree\) æ¹åã«ã \(j = 2\) ã®ãšã㯠\(300\degree\) ãäžå¿ã« \(b \gt r\) ãªã \(240\degree\) æ¹åã«ã\(b \lt r\) ãªã \(360\degree\) æ¹åã«ãå·®ããã®å²åã§è²çžããããããšãè¡šããŠããã
è£è² \(\bar{\mathcal{C}}\) ã® HSL ã \(\mathcal{C}\) ã® HSL ã§ä»¥äžã®ããã«å®çŸ©ããããšãã§ããã \[ \bar{h} = h + 180 \mod 360, \quad \bar{s} = s, \quad \bar{s'} = s', \quad \bar{l} = l. \]
è£è² \(\bar{\mathcal{C}}\) ã® RGB å€ \(\bar{r}, \bar{g}, \bar{b}\) ã¯è²çžãæ±ããªããŠã以äžã®ããã«åŸãããšãã§ããã \[\left(\;\begin{align*} \bar{r} = U + L - r,\\ \bar{g} = U + L - g,\\ \bar{b} = U + L - b. \end{align*}\right.\]
確ãã«ãè² \(\bar{\mathcal{C}}\) ãšã㊠\(\bar{r}, \bar{g}, \bar{b}\) ãä»£å ¥ãããšã以äžãæãç«ã£ãŠããããšããããã \[\bar{L} = \min\left\{\bar{r}, \bar{g}, \bar{b}\right\} = \min\left\{U + L - r, U + L - g, U + L - b\right\} = U + L - U = L,\] \[\bar{U} = \max\left\{\bar{r}, \bar{g}, \bar{b}\right\} = \max\left\{U + L - r, U + L - g, U + L - b\right\} = U + L - L = U,\] \[\begin{align*}\bar{h} &= \begin{cases} 60\left(\dfrac{\bar{g} - \bar{r}}{\bar{U} - \bar{L}} + 1\right) = 60\left(\dfrac{U + L - g - (U + L) + r}{U - L} + 1\right) = 60\left(\dfrac{r - g}{U - L} + 1\right) = 60\left(\dfrac{g - r}{U - L} + 1\right) + 180 \mod 360 &\text{ if \(\bar{j} = 0\)},\\ 60\left(\dfrac{\bar{b} - \bar{g}}{\bar{U} - \bar{L}} + 3\right) = 60\left(\dfrac{U + L - b - (U + L) + g}{U - L} + 3\right) = 60\left(\dfrac{g - b}{U - L} + 3\right) = 60\left(\dfrac{b - g}{U - L} + 3\right) + 180 \mod 360 &\text{ if \(\bar{j} = 1\)},\\ 60\left(\dfrac{\bar{r} - \bar{b}}{\bar{U} - \bar{L}} + 5\right) = 60\left(\dfrac{U + L - r - (U + L) + b}{U - L} + 5\right) = 60\left(\dfrac{b - r}{U - L} + 5\right) = 60\left(\dfrac{r - b}{U - L} + 5\right) + 180 \mod 360 &\text{ if \(\bar{j} = 2\)}, \end{cases}\\ &= h + 180 \mod 360.\end{align*}\]
äžåŒã§ \(+180\) ãããŠåé ã®ç¬Šå·ãå転ããã®ã説æããã«ã¯å°ã é¢åã§ããŸããå ã®å Žååãã现ååããå¿ èŠãããã \[h(r,g,b,k) = \begin{cases} 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = r\), \(L = b\) or \(L = b = g\) and \(k = 0\)},\\ 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = g\), \(L = b\) or \(L = b = r\) and \(k = 1\)},\\ 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = g\), \(L = r\) or \(L = r = b\) and \(k = 2\)},\\ 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = b\), \(L = r\) or \(L = r = g\) and \(k = 3\)},\\ 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = b\), \(L = g\) or \(L = g = r\) and \(k = 4\)},\\ 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = r\), \(L = g\) or \(L = g = b\) and \(k = 5\)}. \end{cases}\] è£è² \(\bar{\mathcal{C}}\) ã® RGB å€ \(\bar{r}, \bar{g}, \bar{b}\) ããã®çŽ°ååããå Žååãã®åŒã«ä»£å ¥ãããšã \[\begin{align*}\bar{h}(\bar{r},\bar{g},\bar{b},\bar{k}) &= \begin{cases} 60\left(\dfrac{\bar{b} - \bar{g}}{\bar{U} - \bar{L}} + 3\right) &\text{ if \(\bar{U} = \bar{b}\) or \(\bar{U} = \bar{b} = \bar{g}\), \(\bar{L} = \bar{r}\) and \(\bar{k} = 3\)},\\ 60\left(\dfrac{\bar{r} - \bar{b}}{\bar{U} - \bar{L}} + 5\right) &\text{ if \(\bar{U} = \bar{b}\) or \(\bar{U} = \bar{b} = \bar{r}\), \(\bar{L} = \bar{g}\) and \(\bar{k} = 4\)},\\ 60\left(\dfrac{\bar{r} - \bar{b}}{\bar{U} - \bar{L}} + 5\right) &\text{ if \(\bar{U} = \bar{r}\) or \(\bar{U} = \bar{r} = \bar{b}\), \(\bar{L} = \bar{g}\) and \(\bar{k} = 5\)},\\ 60\left(\dfrac{\bar{g} - \bar{r}}{\bar{U} - \bar{L}} + 1\right) &\text{ if \(\bar{U} = \bar{r}\) or \(\bar{U} = \bar{r} = \bar{g}\), \(\bar{L} = \bar{b}\) and \(\bar{k} = 0\)},\\ 60\left(\dfrac{\bar{g} - \bar{r}}{\bar{U} - \bar{L}} + 1\right) &\text{ if \(\bar{U} = \bar{g}\) or \(\bar{U} = \bar{g} = \bar{r}\), \(\bar{L} = \bar{b}\) and \(\bar{k} = 1\)},\\ 60\left(\dfrac{\bar{b} - \bar{g}}{\bar{U} - \bar{L}} + 3\right) &\text{ if \(\bar{U} = \bar{g}\) or \(\bar{U} = \bar{g} = \bar{b}\), \(\bar{L} = \bar{r}\) and \(\bar{k} = 2\)}, \end{cases}\\ &= \begin{cases} 60\left(\dfrac{g - b}{U - L} + 3\right) &\text{ if \(U = U + L - b\;(L = b)\) or \(U = U + L - b = U + L - g\;(L = b = g)\), \(L = U + L - r\;(U = r)\) and \(\bar{k} = 3\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) &\text{ if \(U = U + L - b\;(L = b)\) or \(U = U + L - b = U + L - r\;(L = b = r)\), \(L = U + L - g\;(U = g)\) and \(\bar{k} = 4\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) &\text{ if \(U = U + L - r\;(L = r)\) or \(U = U + L - r = U + L - b\;(L = r = b)\), \(L = U + L - g\;(U = g)\) and \(\bar{k} = 5\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) &\text{ if \(U = U + L - r\;(L = r)\) or \(U = U + L - r = U + L - g\;(L = r = g)\), \(L = U + L - b\;(U = b)\) and \(\bar{k} = 0\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) &\text{ if \(U = U + L - g\;(L = g)\) or \(U = U + L - g = U + L - r\;(L = g = r)\), \(L = U + L - b\;(U = b)\) and \(\bar{k} = 1\)},\\ 60\left(\dfrac{g - b}{U - L} + 3\right) &\text{ if \(U = U + L - g\;(L = g)\) or \(U = U + L - g = U + L - b\;(L = g = b)\), \(L = U + L - r\;(U = r)\) and \(\bar{k} = 2\)}. \end{cases}\end{align*}\] ã¡ãªã¿ã«ãæ¡ä»¶æã \(U, L\) ã®åå€é¢ä¿ãé転ããããšãèŠè¶ããŠå€å°èª¿æŽããŠããããšã«æ³šæã ããã§ãæ¡ä»¶ãäžèŽããå Žååãã§äž¡è ã®å·®ãã¿ãã°ã \[\begin{align*}\bar{h}(\bar{r},\bar{g},\bar{b},\bar{k}) - h(r,g,b,k) &= \begin{cases} 60\left(\dfrac{g - b}{U - L} + 3\right) - 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = r\), \(L = b\) or \(L = b = g\) and \(\bar{k} = 3, k = 0\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) - 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = g\), \(L = b\) or \(L = b = r\) and \(\bar{k} = 4, k = 1\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) - 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = g\), \(L = r\) or \(L = r = b\) and \(\bar{k} = 5, k = 2\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) - 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = b\), \(L = r\) or \(L = r = g\) and \(\bar{k} = 0, k = 3\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) - 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = b\), \(L = g\) or \(L = g = r\) and \(\bar{k} = 1, k = 4\)},\\ 60\left(\dfrac{g - b}{U - L} + 3\right) - 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = r\), \(L = g\) or \(L = g = b\) and \(\bar{k} = 2, k = 5\)}, \end{cases}\\ &= \begin{cases} 60\left(\dfrac{g - b}{r - b} - \dfrac{g - r}{r - b} + 3 - 1\right) = 60\left( 1 + 3 - 1\right) = 180,\\ 60\left(\dfrac{b - r}{g - b} - \dfrac{g - r}{g - b} + 5 - 1\right) = 60\left(-1 + 5 - 1\right) = 180,\\ 60\left(\dfrac{b - r}{g - r} - \dfrac{b - g}{g - r} + 5 - 3\right) = 60\left( 1 + 5 - 3\right) = 180,\\ 60\left(\dfrac{r - g}{b - r} - \dfrac{b - g}{b - r} + 1 - 3\right) = 60\left(-1 + 1 - 3\right) = 180 \mod 360,\\ 60\left(\dfrac{r - g}{b - g} - \dfrac{r - b}{b - g} + 1 - 5\right) = 60\left( 1 + 1 - 5\right) = 180 \mod 360,\\ 60\left(\dfrac{g - b}{r - g} - \dfrac{r - b}{r - g} + 3 - 5\right) = 60\left(-1 + 3 - 5\right) = 180 \mod 360. \end{cases}\end{align*}\] ããã«ã以äžã確ãã«æç«ããŠããã \[\bar{h}(\bar{r},\bar{g},\bar{b},\bar{k}) = h(r,g,b,k) + 180 \mod 360.\] \(k\), \(\bar{k}\) ã®ãã¹ãŠã®å Žåã«ãããŠæãç«ã£ãŠããã\(j = \lfloor\frac{k}2\rfloor\) ã§ããã®ã§ãå ã® \(j\) ã«ãããŠãæç«ããã
åè»¢è² \(\tilde{\mathcal{C}}\) ã® HSL ã \(\mathcal{C}\) ã® HSL ã§ä»¥äžã®ããã«å®çŸ©ããããšãã§ããã \[\tilde{h} = h + 180 \mod 360, \quad \tilde{s} = s, \quad \tilde{s'} = s', \quad \tilde{l} = 1 - l.\]
åè»¢è² \(\tilde{\mathcal{C}}\) ã® RGB å€ \(\tilde{r}, \tilde{g}, \tilde{b}\) 㯠HSL ãæ±ããªããŠã以äžã®ããã«åŸãããšãã§ããã \[\left(\;\begin{align*} \tilde{r} = 1 - r,\\ \tilde{g} = 1 - g,\\ \tilde{b} = 1 - b. \end{align*}\right.\]
確ãã«ãè² \(\tilde{\mathcal{C}}\) ã®åŒãšã㊠\(\tilde{r}, \tilde{g}, \tilde{b}\) ãä»£å ¥ãããšã以äžãæãç«ã£ãŠããããšããããã \[\tilde{L} = \min\left\{\tilde{r}, \tilde{g}, \tilde{b}\right\} = \min\left\{1 - r, 1 - g, 1 - b\right\} = 1 - U, \quad \tilde{U} = \max\left\{\tilde{r}, \tilde{g}, \tilde{b}\right\} = \max\left\{1 - r, 1 - g, 1 - b\right\} = 1 - L,\] \[\tilde{s} = \dfrac{\tilde{U} - \tilde{L}}{1 - |\tilde{U} + \tilde{L} - 1|} = \dfrac{1 - L - 1 + U}{1 - |1 - L + 1 - U - 1|} = \dfrac{U - L}{1 - |U + L - 1|} = s,\quad \tilde{s'} = \tilde{U} - \tilde{L} = 1 - L - 1 + U = U - L = s',\] \[\tilde{l} = \dfrac{\tilde{U} + \tilde{L}}{2} = \dfrac{1 - L + 1 - U}{2} = 1 - \dfrac{L + U}{2} = 1 - l.\] å ã®è£è²ãšåæ§ã«å°åºããã°ã \[\tilde{h} = h + 180 \mod 360.\]
ãããåæ§ããšèšã£ãŠãéäžã¯åŸ®åŠã«ç°ãªãã®ã§ããã¯ã念ã®çºã以äžã確èªããŠããã
ãŸããå ã®å Žååãã现ååããåŒãåé²ããŠããã \[h(r,g,b,k) = \begin{cases} 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = r\), \(L = b\) or \(L = b = g\) and \(k = 0\)},\\ 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = g\), \(L = b\) or \(L = b = r\) and \(k = 1\)},\\ 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = g\), \(L = r\) or \(L = r = b\) and \(k = 2\)},\\ 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = b\), \(L = r\) or \(L = r = g\) and \(k = 3\)},\\ 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = b\), \(L = g\) or \(L = g = r\) and \(k = 4\)},\\ 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = r\), \(L = g\) or \(L = g = b\) and \(k = 5\)}. \end{cases}\] åè»¢è² \(\tilde{\mathcal{C}}\) ã® RGB å€ \(\tilde{r}, \tilde{g}, \tilde{b}\) ããã®çŽ°ååããå Žååãã®åŒã«ä»£å ¥ãããšã \[\begin{align*}\tilde{h}(\tilde{r},\tilde{g},\tilde{b},\tilde{k}) &= \begin{cases} 60\left(\dfrac{\tilde{b} - \tilde{g}}{\tilde{U} - \tilde{L}} + 3\right) &\text{ if \(\tilde{U} = \tilde{b}\) or \(\tilde{U} = \tilde{b} = \tilde{g}\), \(\tilde{L} = \tilde{r}\) and \(\tilde{k} = 3\)},\\ 60\left(\dfrac{\tilde{r} - \tilde{b}}{\tilde{U} - \tilde{L}} + 5\right) &\text{ if \(\tilde{U} = \tilde{b}\) or \(\tilde{U} = \tilde{b} = \tilde{r}\), \(\tilde{L} = \tilde{g}\) and \(\tilde{k} = 4\)},\\ 60\left(\dfrac{\tilde{r} - \tilde{b}}{\tilde{U} - \tilde{L}} + 5\right) &\text{ if \(\tilde{U} = \tilde{r}\) or \(\tilde{U} = \tilde{r} = \tilde{b}\), \(\tilde{L} = \tilde{g}\) and \(\tilde{k} = 5\)},\\ 60\left(\dfrac{\tilde{g} - \tilde{r}}{\tilde{U} - \tilde{L}} + 1\right) &\text{ if \(\tilde{U} = \tilde{r}\) or \(\tilde{U} = \tilde{r} = \tilde{g}\), \(\tilde{L} = \tilde{b}\) and \(\tilde{k} = 0\)},\\ 60\left(\dfrac{\tilde{g} - \tilde{r}}{\tilde{U} - \tilde{L}} + 1\right) &\text{ if \(\tilde{U} = \tilde{g}\) or \(\tilde{U} = \tilde{g} = \tilde{r}\), \(\tilde{L} = \tilde{b}\) and \(\tilde{k} = 1\)},\\ 60\left(\dfrac{\tilde{b} - \tilde{g}}{\tilde{U} - \tilde{L}} + 3\right) &\text{ if \(\tilde{U} = \tilde{g}\) or \(\tilde{U} = \tilde{g} = \tilde{b}\), \(\tilde{L} = \tilde{r}\) and \(\tilde{k} = 2\)}, \end{cases}\\ &= \begin{cases} 60\left(\dfrac{g - b}{U - L} + 3\right) &\text{ if \(U = r\), \(L = b\) or \(L = b = g\) and \(\tilde{k} = 3\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) &\text{ if \(U = g\), \(L = b\) or \(L = b = r\) and \(\tilde{k} = 4\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) &\text{ if \(U = g\), \(L = r\) or \(L = r = b\) and \(\tilde{k} = 5\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) &\text{ if \(U = b\), \(L = r\) or \(L = r = g\) and \(\tilde{k} = 0\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) &\text{ if \(U = b\), \(L = g\) or \(L = g = r\) and \(\tilde{k} = 1\)},\\ 60\left(\dfrac{g - b}{U - L} + 3\right) &\text{ if \(U = r\), \(L = g\) or \(L = g = b\) and \(\tilde{k} = 2\)}. \end{cases}\end{align*}\] ã¡ãªã¿ã«ãæ¡ä»¶æã \(U, L\) ã®åå€é¢ä¿ãé転ããããšãèŠè¶ããŠå€å°èª¿æŽããŠããããšã«æ³šæã ããã§ãæ¡ä»¶ãäžèŽããå Žååãã§äž¡è ã®å·®ãã¿ãã°ã \[\begin{align*}\tilde{h}(\tilde{r},\tilde{g},\tilde{b},\tilde{k}) - h(r,g,b,k) &= \begin{cases} 60\left(\dfrac{g - b}{U - L} + 3\right) - 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = r\), \(L = b\) or \(L = b = g\) and \(\tilde{k} = 3, k = 0\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) - 60\left(\dfrac{g - r}{U - L} + 1\right) &\text{ if \(U = g\), \(L = b\) or \(L = b = r\) and \(\tilde{k} = 4, k = 1\)},\\ 60\left(\dfrac{b - r}{U - L} + 5\right) - 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = g\), \(L = r\) or \(L = r = b\) and \(\tilde{k} = 5, k = 2\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) - 60\left(\dfrac{b - g}{U - L} + 3\right) &\text{ if \(U = b\), \(L = r\) or \(L = r = g\) and \(\tilde{k} = 0, k = 3\)},\\ 60\left(\dfrac{r - g}{U - L} + 1\right) - 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = b\), \(L = g\) or \(L = g = r\) and \(\tilde{k} = 1, k = 4\)},\\ 60\left(\dfrac{g - b}{U - L} + 3\right) - 60\left(\dfrac{r - b}{U - L} + 5\right) &\text{ if \(U = r\), \(L = g\) or \(L = g = b\) and \(\tilde{k} = 2, k = 5\)}. \end{cases}\\ &= \begin{cases} 60\left(\dfrac{g - b}{r - b} - \dfrac{g - r}{r - b} + 3 - 1\right) = 60\left( 1 + 3 - 1\right) = 180,\\ 60\left(\dfrac{b - r}{g - b} - \dfrac{g - r}{g - b} + 5 - 1\right) = 60\left(-1 + 5 - 1\right) = 180,\\ 60\left(\dfrac{b - r}{g - r} - \dfrac{b - g}{g - r} + 5 - 3\right) = 60\left( 1 + 5 - 3\right) = 180,\\ 60\left(\dfrac{r - g}{b - r} - \dfrac{b - g}{b - r} + 1 - 3\right) = 60\left(-1 + 1 - 3\right) = 180 \mod 360,\\ 60\left(\dfrac{r - g}{b - g} - \dfrac{r - b}{b - g} + 1 - 5\right) = 60\left( 1 + 1 - 5\right) = 180 \mod 360,\\ 60\left(\dfrac{g - b}{r - g} - \dfrac{r - b}{r - g} + 3 - 5\right) = 60\left(-1 + 3 - 5\right) = 180 \mod 360. \end{cases}\end{align*}\] ããã«ã以äžã確ãã«æç«ããŠããã \[\tilde{h}(\tilde{r},\tilde{g},\tilde{b},\tilde{k}) = h(r,g,b,k) + 180 \mod 360.\] \(k\), \(\tilde{k}\) ã®ãã¹ãŠã®å Žåã«ãããŠæãç«ã£ãŠããã\(j = \lfloor\frac{k}2\rfloor\) ã§ããã®ã§ãå ã® \(j\) ã«ãããŠãæç«ããã
å ã®éå€æãšãªãããå€æ°ã®å®çŸ©ã¯ãã®ãŸãŸã§ã åæ±ã¢ãã«ã®ãšãã¯ã \[ L = l - \dfrac12\left(1 - \left|2l - 1\right|\right)s, \quad U = l + \dfrac12\left(1 - \left|2l - 1\right|\right)s. \] åéã¢ãã«ã®ãšãã¯ã \[ L = l - \dfrac12s', \quad U = l + \dfrac12s'. \] ãããŠã以äžã®ããã«æ±ããããšãã§ããã \[I=\dfrac{h}{60},\quad i=\lfloor I\rfloor\] \[(r, g, b) = \begin{cases} (U,& L-(U-L)(0-I),& L) &\text{ if \(i = 0\)},\\ (L+(U-L)(2-I),& U,& L) &\text{ if \(i = 1\)},\\ (L,& U,& L-(U-L)(2-I)) &\text{ if \(i = 2\)},\\ (L,& L+(U-L)(4-I),& U) &\text{ if \(i = 3\)},\\ (L-(U-L)(4-I),& L,& U) &\text{ if \(i = 4\)},\\ (U,& L,& L+(U-L)(6-I)) &\text{ if \(i = 5\)}. \end{cases}\]
ãã®åŒã®æå³ã¯ã \(i=5, 0\) ã®ãšã \(h = 0 \degree, r = U\) ãäžå¿ã«é ãããè² ã®è²çžæ¹åã§ã¯ \(b\) ããæ£ã®è²çžæ¹åã§ã¯ \(g\) ãå¢å ã \(i=1, 2\) ã®ãšã \(h = 120 \degree, g = U\) ãäžå¿ã«é ãããè² ã®è²çžæ¹åã§ã¯ \(r\) ããæ£ã®è²çžæ¹åã§ã¯ \(b\) ãå¢å ã \(i=3, 4\) ã®ãšã \(h = 240 \degree, b = U\) ãäžå¿ã«é ãããè² ã®è²çžæ¹åã§ã¯ \(g\) ããæ£ã®è²çžæ¹åã§ã¯ \(r\) ãå¢å ããæ··è²ãè¡šããŠããã
è² \(\mathcal{C}\) ã®è£è² \(\bar{\mathcal{C}}\) ã«ãããã \[\bar{L} = L,\quad \bar{U} = U,\] åã³ãHSL ãã RGB ãžå€æã®è²çžã®åŒã«è£è²ã®å®çŸ© \(\bar{h} = h + 180 \mod 360\) ãæœããŠãRGB ã«ããè£è²ã®åŒãšçãããªãããšã確èªã§ããã \[\bar{I}=\dfrac{\bar{h}}{60}=\dfrac{h + 180 \mod 360}{60}=I + 3 \mod 6,\quad \bar{i}=\lfloor \bar{I}\rfloor=\lfloor I\rfloor + 3 \mod 6=i + 3 \mod 6\] \[(\bar{r}, \bar{g}, \bar{b}) = \begin{cases} (L,& L+(U-L)(1-I),& U) &\text{ if \(\bar{i} = 3, i = 0\)},\\ (L-(U-L)(1-I),& L,& U) &\text{ if \(\bar{i} = 4, i = 1\)},\\ (U,& L,& L+(U-L)(3-I)) &\text{ if \(\bar{i} = 5, i = 2\)},\\ (U,& L-(U-L)(3-I),& L) &\text{ if \(\bar{i} = 0, i = 3\)},\\ (L+(U-L)(5-I),& U,& L) &\text{ if \(\bar{i} = 1, i = 4\)},\\ (L,& U,& L-(U-L)(5-I)) &\text{ if \(\bar{i} = 2, i = 5\)}. \end{cases}\] 以äžãæãç«ã£ãŠããããšããããã \[\begin{cases} b + \bar{b} = r + \bar{r} = U + L,\, &g + \bar{g} = L-(U-L)(0-I) + L+(U-L)(1-I)&= 2L+(U-L) = U + L, &\text{ if \(\bar{i} = 3, i = 0\)},\\ g + \bar{g} = b + \bar{b} = U + L,\, &r + \bar{r} = L+(U-L)(2-I) + L-(U-L)(1-I)&= 2L+(U-L) = U + L, &\text{ if \(\bar{i} = 4, i = 1\)},\\ r + \bar{r} = g + \bar{g} = U + L,\, &b + \bar{b} = L-(U-L)(2-I) + L+(U-L)(3-I)&= 2L+(U-L) = U + L, &\text{ if \(\bar{i} = 5, i = 2\)},\\ b + \bar{b} = r + \bar{r} = U + L,\, &g + \bar{g} = L+(U-L)(4-I) + L-(U-L)(3-I)&= 2L+(U-L) = U + L, &\text{ if \(\bar{i} = 0, i = 3\)},\\ g + \bar{g} = b + \bar{b} = U + L,\, &r + \bar{r} = L-(U-L)(4-I) + L+(U-L)(5-I)&= 2L+(U-L) = U + L, &\text{ if \(\bar{i} = 1, i = 4\)},\\ r + \bar{r} = g + \bar{g} = U + L,\, &b + \bar{b} = L+(U-L)(6-I) + L-(U-L)(5-I)&= 2L+(U-L) = U + L, &\text{ if \(\bar{i} = 2, i = 5\)}. \end{cases}\] ãã£ãŠã確ãã« \((\bar{r}, \bar{g}, \bar{b}) = (U + L - r, U + L - g, U + L - b)\) ã§ãã£ãã
è² \(\mathcal{C}\) ã®åè»¢è² \(\tilde{\mathcal{C}}\) ã«ãããã \[\tilde{L} = 1 - U,\quad \tilde{U} = 1 - L,\] åã³ãHSL ãã RGB ãžå€æã®è²çžã®åŒã«å転è²ã®å®çŸ© \(\tilde{h} = h + 180 \mod 360\) ãæœããŠãRGB ã«ããå転è²ã®åŒãšçãããªãããšã確èªã§ããã \[\tilde{I}=\dfrac{\tilde{h}}{60}=\dfrac{h + 180 \mod 360}{60}=I + 3 \mod 6,\quad \tilde{i}=\lfloor \tilde{I}\rfloor=\lfloor I\rfloor + 3 \mod 6=i + 3 \mod 6\] \[(\tilde{r}, \tilde{g}, \tilde{b}) = \begin{cases} (1-U,& 1-U+(U-L)(1-I),& 1-L) &\text{ if \(\tilde{i} = 3, i = 0\)},\\ (1-U-(U-L)(1-I),& 1-U,& 1-L) &\text{ if \(\tilde{i} = 4, i = 1\)},\\ (1-L,& 1-U,& 1-U+(U-L)(3-I)) &\text{ if \(\tilde{i} = 5, i = 2\)},\\ (1-L,& 1-U-(U-L)(3-I),& 1-U) &\text{ if \(\tilde{i} = 0, i = 3\)},\\ (1-U+(U-L)(5-I),& 1-L,& 1-U) &\text{ if \(\tilde{i} = 1, i = 4\)},\\ (1-U,& 1-L,& 1-U-(U-L)(5-I)) &\text{ if \(\tilde{i} = 2, i = 5\)}. \end{cases}\] 以äžãæãç«ã£ãŠããããšããããã \[\begin{cases} b + \tilde{b} = r + \tilde{r} = 1,\, &g + \tilde{g} = L-(U-L)(0-I) + 1-U+(U-L)(1-I) = L-U+1+(U-L) = 1, &\text{ if \(\tilde{i} = 3, i = 0\)},\\ g + \tilde{g} = b + \tilde{b} = 1,\, &r + \tilde{r} = L+(U-L)(2-I) + 1-U-(U-L)(1-I) = L-U+1+(U-L) = 1, &\text{ if \(\tilde{i} = 4, i = 1\)},\\ r + \tilde{r} = g + \tilde{g} = 1,\, &b + \tilde{b} = L-(U-L)(2-I) + 1-U+(U-L)(3-I) = L-U+1+(U-L) = 1, &\text{ if \(\tilde{i} = 5, i = 2\)},\\ b + \tilde{b} = r + \tilde{r} = 1,\, &g + \tilde{g} = L+(U-L)(4-I) + 1-U-(U-L)(3-I) = L-U+1+(U-L) = 1, &\text{ if \(\tilde{i} = 0, i = 3\)},\\ g + \tilde{g} = b + \tilde{b} = 1,\, &r + \tilde{r} = L-(U-L)(4-I) + 1-U+(U-L)(5-I) = L-U+1+(U-L) = 1, &\text{ if \(\tilde{i} = 1, i = 4\)},\\ r + \tilde{r} = g + \tilde{g} = 1,\, &b + \tilde{b} = L+(U-L)(6-I) + 1-U-(U-L)(5-I) = L-U+1+(U-L) = 1, &\text{ if \(\tilde{i} = 2, i = 5\)}. \end{cases}\] ãã£ãŠã確ãã« \((\tilde{r}, \tilde{g}, \tilde{b}) = (1- r, 1 - g, 1 - b)\) ã§ãã£ãã
äžèšã®ç®åºåŒã§ã\(\mathcal{C}\) ã® HSL ãš RGB çžäºå€æãè£è² \(\bar{\mathcal{C}}\), åè»¢è² \(\tilde{\mathcal{C}}\) ãåçã«æ±ãããçè²ã¯ HSL ãªã hsl
ã¹ã¿ã€ã«ã§ãRGB ãªã rgb
ã¹ã¿ã€ã«ã§è¡ã£ãŠããã
ãªã¢ã«ã¿ã€ã ã§æ§åãèŠããã®ã§ãããªã䟿å©ã ãã¡ãªã¿ã«ãåŸã«çŽ¹ä»ããããè²åãããã RGB, HSL å€ãªãååãä»èšãããã
æ¬é¡ã«å ¥ãåã«ãæšä»ã®ãŠã§ãã«ãããè²ã®è¡šèšæ¹æ³ã説æã«éœåãããã®ã§èª¬æãããŠããã
è²ã¯å ã®äžåè²ãèµ€ãç·ãé (R: Red, G: Green, B: Blue) ã®çµã¿åããã§èšè¿°ãããããããã 256 é調ãã€ãŸãã0ã255 㯠10 é²æ³ã ãã16 é²æ³ã§ 0x00ã0xFF ãã#ãã®åŸã« RGB ã®é ã«äžŠã¹ãŠè¡šããšãé»ãèµ€ãç·ãçœã¯ä»¥äžã®ããã«è¡šããã
#000000 ãã©ã㯠#FF0000 ã¬ãã #00FF00 ã°ãªãŒã³ #0000FF ãã«ãŒ #FFFFFF ãã¯ã€ã
R, G, B ããããããã¹ãŠ 16 é調ãšããŠãè¡šãããšãã§ãã以äžã¯ R, G, B å€ããããããã¹ãŠçå€ãªã®ã§ 4 é調ã®ã°ã¬ãŒã¹ã±ãŒã«ãè¡šããŠãããã¡ãªã¿ã«ãäŸãã° 55(256)/100(256) = 5(16)/10(16) ã§ããããšã«çæã
#000 ãã©ã㯠#555 ããŒã¯ã°ã¬ãŒ #AAA ã©ã€ãã°ã¬ãŒ #FFF ãã¯ã€ã
泚æäºé ãšããŠããããã玹ä»ããåã¢ãŒããã¯ãã£ã«ãããè²ã®è¡šçŸæ¹æ³ãšã¯ç¡é¢ä¿ã§ãããæšä»ã®è¡šèšæ¹æ³ã䟿å®çã«æ·»ããŠãããŸã§ã§ããã
0123456789ABCDEF | |
2 è²ã§ããã¹ãã®è¡šç€ºãäžç»é¢ã« 1 è¡ 40 æåã 25 è¡ã ãšãããšã1 æååœããçœé»ã®ãªã³ãªã㧠1 ããã à 40 à 25 = 1000 ãããããšã¯ãªããªããäœã®æåãè¡šãããè¡šçŸããªããŠã¯ãªããªãã®ã§ã1 æååœãã 256 (28) çš®é¡ã®æåã³ãŒãïŒã€ãŸãã1 ãã€ãïŒãè¡šããšãããšïŒæåã³ãŒã 0 ã®ã¿ãé»ããã以å€ãçœããçŽæäºãšããŠïŒã1 æååœãã 1 ãã€ã à 40 à 25 = 1000 ãã€ããã€ãŸã 1k ãã€ãã®ããã¹ã VRAM ãå¿ èŠãšãªãã
ã¬ã¬ã·ãŒããœã³ã³ã® 2 è²ã®ä»£è¡šäŸãšããŠã1978 幎 12 æ SHARP MZ-80K ãããããã確ãã«ãä»æ§ã«ã¯ãããã¹ã VRAM 1k ãã€ãããšãªã£ãŠããã
00 #000 ãã©ã㯠01 #555 ããŒã¯ã°ã¬ãŒ 10 #AAA ã©ã€ãã°ã¬ãŒ 11 #FFF ãã¯ã€ã 0123456789ABCDEF | | | |
ã°ã¬ãŒã¹ã±ãŒã«ã§ã°ã©ãã£ãã¯ã¹ã®è¡šç€ºãäžç»é¢ã«çžŠæšª 320Ã200 ãã¯ã»ã«ã ãšãããšã1 ãã¯ã»ã«åœãã 4 é調 (22) ã ãš 2 ããã à 320 à 200 = 128000 ããã = 32000 ãã€ã = 32k ãã€ãã®ã°ã©ãã£ãã¯ã¹ RAM ãå¿ èŠãšãªãã
ã°ã¬ã€ã¹ã±ãŒã«ã®æºåž¯ã²ãŒã æ©ã§ããã°ã1989 幎 4 æ Nintendo GAME BOY ããããããã4 é調ã¢ãã¯ã 160Ã144 ãã¯ã»ã«ãšã®ããšãªã®ã§ã1 ãã¯ã»ã«åœãã 4 (22) é調㧠2 ããã à 160 à 144 = 46080 ããã = 5760 ãã€ã = çŽ 6k ãã€ãã®ã°ã©ãã£ãã¯ã¹ RAM ãå¿ èŠãšãªããä»æ§ã§ã¯ VRAM 8k ãã€ããšããã®ã§å€§äœãªãŒããŒã¯åã£ãŠããã
ããäžã€ã°ã¬ã€ã¹ã±ãŒã«ã®æºåž¯ã²ãŒã æ©ã1999 幎 3 æ BANDAI WonderSwan ããããããã8 é調ã¢ãã¯ã 224Ã144 ãã¯ã»ã«ãšã®ããšãªã®ã§ã1 ãã¯ã»ã«åœãã 8 (23) é調㧠3 ããã à 224 à 144 = 96768 ããã = 12096 ãã€ã = çŽ 12k ãã€ãã®ã°ã©ãã£ãã¯ã¹ RAM ãå¿ èŠãšãªããä»æ§ã§ã¯ VRAM 16k ãã€ããšãã£ãã®ã§å€§äœãªãŒããŒã¯åã£ãŠããã
ã°ã¬ãŒã¹ã±ãŒã«ã®ã³ã³ãã¥ãŒã¿ãšããŠã¯ã1988 幎 1 æ SONY NEWS NWS-711 ãããããããæ£ç¢ºãªä»æ§æžãèŠã€ãããªãã£ããã解å床ãé調ã¯ãã£ãšé«ãã£ãã¯ãã§ããã確ã 16 é調ã¢ãã¯ã瞊暪 1280Ã1280 ãã¯ã»ã«ã ãšãããšã1 ãã¯ã»ã«åœãã 16 (24) é調㧠4 ããã à 1280 à 1280 = 6553600 ããã = 819200 ãã€ã = 800Ki ãã€ãã®ã°ã©ãã£ãã¯ã¹ RAM ãå¿ èŠãšãªãã
1000 ãã€ã (1000B) ã 103 ã§å²ã£ãåäœã¯ 1 KB, 1 ãããã€ããšåŒã³ã
1024 ãã€ã (1024B) ã 210 ã§å²ã£ãåäœã¯ 1 KiB, 1 ãããã€ããšåŒã¶ã
åè ã¯ãåœéåäœç³»(SI)æ¥é èŸ K ã§ãããåŸè ã¯ãåœéé»æ°æšæºäŒè°(IEC)2é²æ¥é èŸ Ki ã§ããã
SIæ¥é èŸ | é€æ° | 10é²é€æ°(A) | 2é²æ¥é èŸ | é€æ° | 10é²é€æ°(B) | 100(B-A)÷B |
---|---|---|---|---|---|---|
k(kilo/ãã/ã) | 103 | 1000 | Ki(kibi/ãã) | 210 | 1024 | 2% |
M(mega/ã¡ã¬/ã) | 106 | 1000000 | Mi(mebi/ã¡ã) | 220 | 1048576 | 4% |
G(giga/ã®ã¬/ã) | 109 | 1000000000 | Gi(gibi/ã®ã) | 230 | 1073741824 | 7% |
T(tera/ãã©) | 1012 | 1000000000000 | Ti(tebi/ãã) | 240 | 1099511627776 | 9% |
P(peta/ãã¿) | 1015 | 1000000000000000 | Pi(pebi/ãã) | 250 | 1125899906842624 | 12% |
E(exa/ãšã¯ãµ) | 1018 | 1000000000000000000 | Ei(exbi/ãšã¯ã¹ã) | 260 | 1152921504606846976 | 15% |
Z(zetta/ãŒã¿) | 1021 | 1000000000000000000000 | Zi(zebi/ãŒã) | 270 | 1180591620717411303424 | 18% |
Y(yotta/ãšã¿) | 1024 | 1000000000000000000000000 | Yi(yobi/ãšã) | 280 | 1208925819614629174706176 | 20% |
R(ronna/ãã) | 1027 | 1000000000000000000000000000 | Ri(robi/ãã) | 290 | 1237940039285380274899124224 | 23% |
Q(quetta/ã¯ãšã¿) | 1030 | 1000000000000000000000000000000 | Qi(qibi/ãã) | 2100 | 1267650600228229401496703205376 | 26% |
äž¡è ã®é€æ°ã®å·®ã¯ææ°ã倧ããã»ã©éããŠãããã·ã¹ãã ã«ãã£ãŠã¯åŸè ã䜿çšããŠããã®ã§ãè³Œå ¥ããããŒããã£ã¹ã¯ãªã©ã®ã¹ãã¬ãŒãžã®ãµã€ãºããWindows ãªã©ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«ãŠèªèãããµã€ãºã§å°ãªããªãã®ã¯ãã®åäœç³»ã®éãã«ããã®ã ããããèŠãã°åäœã¯èšãããŠããã
ã€ãã§ã« 64 é調ã°ã¬ãŒã256 é調ã°ã¬ãŒã®è¡šãæ·»ããŠã¿ãã
ã¡ãªã¿ã«ããã®è¡šã¯æ°å€çã« HSL è²ç©ºéããæ±ããŠããã®ã§ãRGB è²ç©ºéããçŽæ¥ç®åºãããã®ãšã¯è¥å¹²æ°å€ããºã¬ãããšãã容赊ããã ãã
ããã¹ãã«ã©ãŒ 8 è²ã®å ŽåãäŸãã°ãæåã®åæ¯è²ã ãã§ãªãèæ¯è²ãããã«å ããŠç¹æ» çãå«ãããããããŸãšãããå±æ§ããè¡šãããã«ãããšãåæ¯ 8 (23)è² + èæ¯ 8 (23)è² + ç¹æ» ç 1ã2 ããã = 3 + 3 + 2 ããã = 8 ããã = 1 ãã€ããïŒæååœããã®è²ã§ã1 æååœãã 256 (28) çš®é¡ã®æåã³ãŒãïŒã€ãŸãã1 ãã€ãïŒãå¿ èŠãšãªãã
ãã®ãšãã8 è²ããŒã¹ã®å±æ§ã§ããã¹ãã®è¡šç€ºãäžç»é¢ã« 1 è¡ 40 æåã 25 è¡ã ãšãããšã1 æååœããã®æåã³ãŒããšå±æ§ã§ 1 + 1 ãã€ã à 40 à 25 = 2000 ãã€ããã€ãŸã 2k ãã€ãã®ããã¹ã VRAM ãå¿ èŠãšãªãã
ã¬ã¬ã·ãŒããœã³ã³ã® 8 è²ããŒã¹ã®ããã¹ãã®äŸãšããŠã1982 幎 11 æ SHARP MZ-700 ããããããä»æ§ã«ã¯ãããã¹ã VRAM 4k ãã€ãããšãªã£ãŠããããD000hïœD3E7h
ã«ãã£ã¹ãã¬ã€ã³ãŒããD800hïœDBE7h
ã«ã¢ããªãã¥ãŒãããšããã®ã§ããããã¯ã¡ããã© 2k ãã€ãã§ããã
äœããèæ¯è²ã 1 æåæ¯ã«æå®ã§ããæ©çš®ã¯ MZ-700 ä»ã«ãããŠçãããã¢ããªãã¥ãŒã 1 ãã€ãå ã«ãã以å€ã®ãå転ããã®ä»è£ 食ãè©°ã蟌ããã®ãäž»æµã§ãã£ãã
å ã® namco ãXEVIOUSãã²ãŒã ç»é¢ããæ¯èŒã®ããã«ã¡ããã©éœåããããšæã£ãã®ã§ããŸããã¢ãŒã±ãŒããXEVIOUSãã®ãããã代衚çãªè²æ°ã®ã¬ã¬ã·ãŒã³ã³ãã¥ãŒã¿ç§»æ€çã玹ä»ããã
ã¡ãªã¿ã«ãåæ©çš®ã«ãŠè²æ°ãšè§£å床ã¯ãçè ããããããã®è²æ°ãšè§£å床ã®ã¢ãŒãã§ç§»æ€ãããã®ã ããããšããæšæž¬ã§èšãããã®ã§ããããŸããåæ©çš®ã¯ããŸããŸãªè²æ°ãšè§£å床ãšé¢æ°ã®ã¢ãŒããããããæããŠãããã¢ãŒã±ãŒãã²ãŒã ã®ç§»æ€ã«éœåã®ããã¢ãŒããéžã°ããã®ã ãããšæããããã誀ããããã°ãææããã ããã°å¹žçã§ããã
8 è²ã«ã©ãŒã§ã°ã©ãã£ãã¯ã¹ã®è¡šç€ºãäžç»é¢ã«çžŠæšª 320Ã200 ãã¯ã»ã«ã ãšãããšã1 ãã¯ã»ã«åœãã 8 (23)è²ã§ 3 ããã à 320 à 200 = 192000 ããã = 24000 ãã€ã = 24k ãã€ãã®ã°ã©ãã£ãã¯ã¹ RAM ãå¿ èŠãšãªãã
ã¬ã¬ã·ãŒããœã³ã³ã® 8 è²ã°ã©ãã£ãã¯ã¹ã®äŸãšããŠã1982 幎 11 æ SHARP X1 ããããããã4000hïœFFFFh
ã VRAMããšããã320Ã200 ãã¯ã»ã«ã 2 é¢ãã£ãŠããã®ã§ãããã¯ã¡ããã© 24K à 2 ã® 48k ãã€ãã§ããã
16 è²ã«ã©ãŒã§ã°ã©ãã£ãã¯ã¹ã®è¡šç€ºãäžç»é¢ã«çžŠæšª 640Ã400 ãã¯ã»ã«ã ãšãããšã1 ãã¯ã»ã«åœãã 16 (24)è²ã§ 4 ããã à 640 à 400 = 1024000 ããã = 128000 ãã€ã = 128k ãã€ãã®ã°ã©ãã£ãã¯ã¹ RAM ãå¿ èŠãšãªãã
äžèšã«ã©ãŒããŒã®äŸã§ã¯ãèŒåºŠã®éžæè¢ãå¢ããã ãã§ãè²çžãã®çš®é¡ã¯å¢ããŠããªããäŸãã°ããã®èª¿åã§èŒåºŠã®é調ãå¢ãããŠãã£ãŠãäžå®æ°ã®è²çžã®æãèŒåºŠã®çš®é¡ãå¢ããŠããã ãã§ããã
è©Šãã«ãã®ãŸãŸæšãé²ããŠãè²çžã¯åã® 16 é調ãèŒåºŠã 16 é調㧠16Ã16 = 256 è²ã®ã«ã©ãŒããŒãã«ãäœæããŠã¿ãã
256 è²ã䜿ã£ãŠåãè²çžã«å¿ããèŒåºŠã®äœãããªãšãŒã·ã§ã³ãããã ãã§ãè±ããªè²åœ©ãæºåã§ãããšã¯èšãé£ãã äœãããã®ãããªè²ã®çš®é¡ã«ãçšéã¯ããã泚ç®ãã¹ãã¯äººéãé£ãåãè²çžãåºå¥ããããã®ã§ãã°ã©ããªã©ã«ãããŠç·çš®ãè²ã§åºå¥ãããªã©ã®çšéãããã
ãã®ããŒãã«ã®ã°ã¬ãŒã¹ã±ãŒã«ä»¥å€ã®ã«ã©ãŒã«ã€ããŠã¯ãã®ã¡ã®ã«ã©ãŒããŒãã«ã«ç»å Žãããããããã«ã©ãŒããšåçãªã®ã ããèŒåºŠã®å€åãå€ããããšã§ããã¹ãã«ã«ã©ãŒããšãåçã«ãªãïŒãðããã¿ã³ãæŒããšãã®ã«ã©ãŒããŒãã«ã衚瀺ïŒã
ããã«ãèŒåºŠã®å€åãå€ããããšã§ãããããã«ã©ãŒãåã³ããã¹ãã«ã«ã©ãŒãåæ¹ã«æž¡ãã°ã©ããŒã·ã§ã³ã«ããªãïŒãðããã¿ã³ãæŒããšãã®ã«ã©ãŒããŒãã«ã衚瀺ïŒã
ããã㯠HSL è²ç©ºéã«ãã£ãŠç°¡åã«ã¢ã«ãŽãªãºã ã§èªåçã«ç®åºã§ããŠããã
äžèšãã²ãŒã ç»é¢ãäŸãšããŠç»å Žããã¬ã¬ã·ãŒã³ã³ãã¥ãŒã¿ã®è²ŽéãªåçãåŒçšããŠãããçºå£²é ãªã©ã§ã¯ãªããæ³å®ããã VRAM ã®ãµã€ãºãšããã
è²æ°ã«å¿ããŠå¿ èŠãª VRAM ã®ãã€ãæ°ã®ãªãŒããŒæèŠãé€ãããã«ãç°¡åã ãããã€ãã®äŸã瀺ãã
è²æ°ããŒã¹ã§ã® VRAM æŠç®ã®äŸã瀺ãã
é調ããŒã¹ã§ã® VRAM æŠç®ã®äŸã瀺ãã
9, 12 ããããªã© 8 ã®åæ°ãããã§ãªããã®ã¯èšç®æ©ã«ãã£ãŠå端ãªã®ã§ãR, G, B ã®é調ãçããã¯ãªãã£ãã (R: 5, G: 6, B: 5 = 16 ããã)ãèŒåºŠãªã©ä»ã®å±æ§ãšãšãã«ãã€ãåäœã«æ
å ±ãè©°ããŠèšæ¶åã«æ ŒçŽããããããåè
ã¯äººéã®ç®ã®ç¹æ§ã«åã£ãŠããåççã ããåŸè
ã¯ãäŸãã°ãSHARP X68000 ã® 65536 è²ãšã¯ãRGB å 32 é調ã«ã©ãŒã§ 15 = 5 à 3 ãããã«å ããŠææã®èŒåºŠ 1 ãããã§ã1 ãã¯ã»ã«ããã 16 ããã = 2 ãã€ããšããè²è¡šçŸãè¡ã£ãŠãããäœãããã¯ãããã°ã©ãã³ã°ã容æã«ãªãåé¢ãRGB å€ãå€ããã°èŒåºŠã¯èª¿æŽã§ããã®ã§åé·ãªæ
å ±è¡šçŸã ãäŸãã°ãã°ãªãŒã³ #00FF00
ã® HSL ã®èŒåºŠ 50 ãååã® 25 ã«äžãããã®ã¯ããŒã¯ã°ãªãŒã³ #007F00
ã§ãããå°€ãããŒããŠã§ã¢çã« RGB å€ä»¥å€ã®èŒåºŠèª¿æŽãå¯èœã«ãªã£ãŠããã®ã§ããã°ãã®éãã§ã¯ãªãã
ããŠãæšä»ã®ã³ã³ãã¥ãŒã¿ã®é²æ©ã«ãã£ãŠäžèŠãšãªã£ãããã¬ããããšããä»çµã¿ãç»å ŽããŠãããããã¯åœæ㯠RAM ãé«äŸ¡ã§åã£ãããè¡šçŸã§ãã RGB å€ã®é調ããã¹ãŠã®ãã¯ã»ã«ã«å²ãåœãŠããªã©ãšããããšã¯çŸå®ã§ã¯ãªãã£ãã®ã§ããããã£ãŠãäžåºŠãã¬ãããšããå€æããŒãã«ãçšããŠåãã£ãŠãã VRAM ã«åãŸãããã«ãåæã«è¡šç€ºå¯èœããªè²æ°ãæããŠãããšããããã§ãããåŸã«ç»å ŽãããWEB ã»ãŒãã«ã©ãŒãã«ãå¯æ¥ã«é¢é£ãã話é¡ã§ããããããè²æ°ã«è²åœ©ãååžããããšããã®ã¯æ§ã ãªå Žé¢ã§å¿ èŠãšãªãã®ã§ãããã§ããã€ãäŸã瀺ããã
人éãèªèã§ããå ã®äžåè² RGB ã«ããããé調ãèšããŠããã¬ãããè¡šã§çšæããŠã¿ãã3 次å æ å ±ãªã®ã§æ¬æ¥ãªããç«æ¹äœãã§çŸãã¹ãã ãããããŸã§ã§ã¯ãªãã®ã§åã«æšªã«äžŠã¹ãã以äžãå°ããå¹³é¢ã® x-y 軞ã G, B ã§ããã®æšªæ¹åãžã®äžŠã³ã R ã§ããã
å·Šäžãšå³äžã«é»çœãå²ãåœãŠãããŠããããã®éã« RGB ã«ã©ãŒãåçã«ååžããããã®è²ç©ºéã¢ãã«ã¯ããŸã人éã«ãããããã空éã®äœ¿ãæ¹ãšã¯èšããªãã®ã§ã次㫠HSL è²ç©ºéãçšããã
ããŠãRGB å 6 é調ãšãããšåŸã«çŽ¹ä»ããããWEB ã»ãŒãã«ã©ãŒã216 è² (=63) ãã®ãã®ãšãªããå ã®ãã¬ããã®è©±é¡ã§å€å°è§Šããããããå°ã詳ãã説æããŠãããã
ãã€ãŠãVRAM ã®å®¹éãå°ãªãåæçºè²ã 256 è²ã«å¶éãããŠãããŠã£ã³ããŠã·ã¹ãã äžã§ã¯ãäžæã®ãŠã£ã³ããŠãå¶éç®äžæ¯ã®è²æ°ã䜿ã£ãŠããŸããšãä»ã®ã¢ã¯ãã£ãã«ãªã£ãŠããªããŠã£ã³ããŠãæè¬ãè²åããããŠããŸãããšãåœããåã ã£ãã
å©çšè ã¯åãã£ãŠããŠäœ¿ã£ãŠããã®ã§ãè²ãéèŠãªã®ã§ããã°ã¢ã¯ãã£ããªãŠã£ã³ããŠã®ã¿æ£ããè²åœ©ãšãªãããšã¯åé¡ãªãã®ã ããçŽ äººç®ãããããããªããè²ããããããªã£ãããä»ã®ã¢ããªã±ãŒã·ã§ã³ã«ãã°ãåŒãèµ·ããããªã©ãšæãããŠãä»æ¹ããªãããè¡åã®æªãã¢ããªã±ãŒã·ã§ã³ãã®ã¬ããã«ã貌ãããŠããŸããããªããããã§çŽ³å£«åå®ãšããŠææ¡ãããã®ããã»ãŒãã«ã©ãŒãã®èãæ¹ã§ãããããŸããŸãŠã§ããã©ãŠã¶ãŒã®æ®åãš VRAM ã®æäºæ ãéãªã£ãã ãã§ããŠã§ããã«çŽæ¥é¢ä¿ããããã§ã¯ãªãã
äŸãã°ããã©ãŠã¶ã奜ãåæã« 256 è¿ãå€è²ã䜿ã£ãŠããŸããšããŠã£ã³ããŠã·ã¹ãã ãå¯èœãªåæçºè²æ°ãè¶ ããŠããŸãããŠã£ã³ããŠãããŒãžã£ã«ããæ ã®è²ããã¿ã³ã®è²ãªã©ããè²åãããèµ·ããããæ¢ã«äœ¿ãããŠãã RGB å€ã䜿ãéããè²åããã¯èµ·ãããªãããã£ãŠãè²ãã®ãã®ãããã»ã©éèŠã§ã¯ãªãã®ãªããåã¢ããªã±ãŒã·ã§ã³ãå ±éã®è²ã䜿ããŸãããããšãã玳士åå®ã®ã«ã©ãŒé åãšããããã§ããã
ãŸãã256 è²ç®äžæ¯ãã»ãŒãã«ã©ãŒãšå®ããŠããŸããšãããã«åã£ãŠããªãã¢ããªã±ãŒã·ã§ã³ãã°ã¬ãŒã¹ã±ãŒã«ãåºæ¬ãšããã¢ããªã±ãŒã·ã§ã³ã§è²åããèµ·ããããããªãã®ã§ã256 - 216 = 40 è²ã¯ãã®ããã®äºåãšããŠäœãããŠãããŸãããããšããäºæ ã ã£ããšããããã ã
æšä»ã¯ã°ã©ããŒã·ã§ã³å¹æã䜿ã£ãã ãã§å®¹æã«ã»ãŒãã«ã©ãŒã倧ããéžè±ããŠããããããªã®ã§ããšãã®æã«ãã®æ矩ã¯å€±ãããŠãããšèããŠæ§ããªãããã£ãŠãæ¬æã§çŽ¹ä»ããŠããããã«ãè²ã®çªå·ä»ãã®ã¢ã«ãŽãªãºã ã®äžã€ãšæããã°ååã§ããã
HSL (Hue: è²çž, Saturation: 圩床, Lightness: èŒåºŠ) è²ç©ºéã®åæ±ã¢ãã«ããæšä»ã®ãŠã§ãæè¡ã§ç°¡åã«æ±ããããã«ãªã£ããããã¯å ã®äžåè² RGB ã«å šåå°ãªè²ã¢ãã«ã§ãããHSL ããããé調ãèšããŠããã¬ãããè¡šã§çšæããŠã¿ãã3 次å æ å ±ãªã®ã§æ¬æ¥ãªããåæ±ãã§çŸãã¹ãã ãããããŸã§ã§ã¯ãªãã®ã§åã«æšªã«äžŠã¹ãã以äžãå°ããå¹³é¢ã® x-y 軞ã L, H ã§ããã®æšªæ¹åãžã®äžŠã³ã S ã§ããã
æ°å€åŠçäžãé»çœãå²ãåœãŠããšç©ºéã«ç¡é§ãçãããè€éã«ãªãã®ã§ãé»çœã°ã¬ãŒã¹ã±ãŒã«ã¯èšããŠããªãããã¬ãããšããŠã®å®çšäžã¯é»çœã°ã¬ãŒã¹ã±ãŒã«ãå¿ èŠã§ããããããèšç®æ©ã«éœåãè¯ã 2 é²æ³ã§ããªã®ããæ°ã«å°ã足ããªãè²æ°ã«ããŠããã®ã§ã64 - 60ã256 - 252 = 4 è² ãé»çœã°ã¬ãŒã¹ã±ãŒã«ã«å¥éå²ãåœãŠããšãã£ãå®çšãèããããã ãããå°€ãæšä»ã¯ãããã£ãå¿ èŠæ§ãå°ãªãã ããããã°ã©ãçã§è²ã«çªå·ä»ããå¿ èŠã«ãªããšãã«ã¯äŸç¶ãšããŠæçšã§ããã
äžèšã«ç»å Žãã XEVIOUS ã®é ä¿¡ãããŠããåç»ã玹ä»ããŠãããäœããäžèšã®äœã¹ããã¯ãã·ã³ããã®é åºã ãšæ¬ç©ã®æ§åãããããªããšæãããã®ã§ãæ¬å®¶ããäœã¹ããã¯ãžãšåç»ã貌ã£ãŠããããŸããæšä»ã®ãã·ã³äžã®ãšãã¥ã¬ãŒã¿ã«ããå®çŸã«ã€ããŠã¯é€ããã€ããã§ãããæ¬é ã§åãäžããªãã£ããã·ã³ãæ··ãã£ãŠããã®ã¯ãã©ãããŠãå¿æ çã«å€ãããšãåºæ¥ãªãã£ãã
ãã·ã³ã®æ§èœã極éãŸã§åŒãåºãããã®ãããäœè£ã§ããªããŠãããã®ããªã©ããŸããŸã§ããã
æ¯èŒã®ããã®åãã·ã³ã®ãªãªãŒã¹å¹Žæè¡šãæ·»ããŠãããrelease vender model VRAM 1978/07 Apple Apple â ¡ 8kB 1981/11 NEC PC-6001 16kB 1982/10 NEC PC-9801 256kB 1982/11 Fujitsu FM-7 48kB 1982/11 SHARP MZ-700 4kB 1982/11 SHARP X1 48kB 1982/12 namco Galaga unknown 1983/07 NEC PC-6001mkâ ¡ 16kB 1983/07 Nintendo NES(Family Computer) 2kB 1985/01 NEC PC-8001mkâ ¡SR 48kB 1985/10 SHARP MZ-2500 64kB 1987/03 SHARP X68000 512kB
ã¡ãªã¿ã«ãPC-6001ããã¡ããªãŒã³ã³ãã¥ãŒã¿(NES)ãApple â ¡ ã«ã€ããŠã¯ RGB ã«ããè²å¶åŸ¡ã§ã¯ãªã NTSC ãããªä¿¡å·ã®ç¹æ§çãå©çšããè²åœ©è¡šçŸæè¡ã§ããããäžæŠã«ã¯ä»ãšæ¯ã¹ãããªãã®ã ãã䟿å®äž VRAM ã®ãµã€ãºãèšèŒããŠãããåŠäœã«è§£éãåŠäœã«èª¬æããã°è¯ããææ¡äžã§ããã®ã§ããã®ãŸãŸã«ããŠããããå°ãã ããApple â ¡ ã«ã€ããŠã¯çœé»ã® VRAM ããæã£ãŠããªãã®ã ããè²ãä»ãããç®æã ãäœçžããããããšã§è²åããçããããããããå šç»é¢ã®è²ãä¿æããŠããå¿ èŠããªãããããã£ã説æã§ããã®ãèãäžã§ããã
以äžãRGB, HSL è²ç©ºéã«ããã«ã©ãŒãªã³ã°ãäžå¿ã«è§£èª¬ããŠãããã人é¡ã®æŽå²ã§èªç¶ãšãååãä»ããããè²ããšãããã®ã倧å€éèŠã§ãããè²ã®ååã«å¯Ÿãã RGB å€ã®å®çŸ©ãªã©ã¯ããŸããŸã ããæšä»ã®ãŠã§ãæè¡ã«ãããŠã¯è²åã® RGB å€ã CSS (Cascading Style Sheets) ã®åéã§å®çŸ©ãããŠããæçšã§ããããããåŸæ®µã§çŽ¹ä»ãããW3C ã«ããè²åãã§ãããããã«ãæ¥æ¬ã®äŒçµ±è²ãªã©ãé·ãæŽå²ã§åä»ããããŠããè²ãªã©ã¯ãŠã§ããã¶ã€ã³ã«ãïŒè²åãçŽæ¥çã«ã¯äœ¿ããšããããã§ã¯ãªãïŒæçšã§ããã
ããã«ãå ã®ãã¬ããã§çŽ¹ä»ãããããªãHSL è²ç©ºéãå©çšããŠã¢ã«ãŽãªãºã ã«ãã£ãŠè²ã®æ®µéãèšããããè²æ°ã«å²ãåœãŠãŠããããšãæçšã§ãããåŸæ®µã®ãã¢ãããŒã³ïŒã°ã¬ãŒã¹ã±ãŒã«ïŒããã°ã©ããŒã·ã§ã³ãããã¹ãã«ã«ã©ãŒããããããã«ã©ãŒãã¯åçŽãªã¢ã«ãŽãªãºã ã§å®çŸå¯èœãªãã¬ããäŸãšããŠæ¢ã«çŽ¹ä»ããããåŸæ®µã®ãWEB ã»ãŒãã«ã©ãŒããç°¡åãªã¢ã«ãŽãªãºã ã«ãã£ãŠå®çŸå¯èœã§ããã
ã¡ãªã¿ã«ã以äžã®ãã¬ããäŸãäŒçµ±è²ã¯ãµã€ããHTML5&CSS3ãã倧ãã«åèã«ãããŠé ãããããã«æè¬ãç³ãäžããã
äžè¡šã«ãããŠãå°ãã第ïŒåãè²åã«ããèæ¯è²ã®æå®ã§ãããããã§çè²ãããŠããªãã»ã«ããã©ãŠã¶ã§ãµããŒããããŠããªãè²åãšããããšã«ãªããå°ãã第ïŒåã¯äžèšã® RGB2HSL å€æã«ãã HSL è²ç©ºéã«ããèæ¯è²ã®æå®ãã€ãã§ã«è¡ã£ããå°ãã第ïŒåã¯ãã®éå€æã確èªããããã®ã»ã«ã§ãããæ®ãã®å€§ããã»ã«ã¯ãåæ¯è²ãèæ¯è²ãçœé»ã®éãã§ãã®è²ãèŠããããã確èªããããã®ïŒã»ã«ã§ãããçè²ããŠããªã第ïŒåã« RGB2HSL å€æçµæãå°åããããŸããè¡šé¡ããã£ãŠãè¡šãå°åããŠããªãç¯ã¯ãèªé¢ã®é¢ä¿ã§è¡šç€ºããªãã«ãããã®ã§ããïŒæè¡å®èšŒã®ããã ãè¡šã®æ§ç¯ã«æéããããã®ã§ details
, summary
ã¿ã°ã§éããŠããïŒã
X11/rgb.txt
ã«ç»é²ãããŠãã RGB å€ãšè²å 659 è²ã«ã¯ã倧æåã䜿ã空çœãå«ãååãšåè²ã®ç©ºçœãé€å»ããååãå€ãååšãããåœåã®æºãããããçšåºŠæãã€ã€å©äŸ¿æ§ãæ
ä¿ããã¡ãã£ãšãã工倫ãä»ãªã䜿ãããŠããçç±ãªã®ã ããã
â rgb.txt
X11/rgb.txt
ã§å€§æåãå°æåã«å€æã空çœãé€å»ããW3C ãè¿œå ã»å€æŽããè²åãããŒãžãã 570 è²ã§ããã5 è²ã®å€æŽåã®è²åããããã§ã¯ gray obs
, grey obs
, green obs
, maroon obs
, purple obs
ã®ããã«å°åããŠããããdarkgray
, darkslategray
, dimgray
, lightgrey
, lightslategray
, slategray
, rebeccapurple
ãè¿œå ãããŠãããW3C ã«ãã£ãŠçãããŠããŸã£ãçªå·ä»ãã®è²åãæ®ããŠããã®ã§ãçšéã«ãã£ãŠã¯äœ¿ãåæãããã ããã
â rgb+w3c.txt
POV-Ray 3.5 ã«ãŠå®çŸ©ãããŠããè²åãš RGB å€ 129 è²ã¯ãX11 ãšã W3C ãšã RGB å€ãç°ãªãè²åãå°ãªãããå®çŸ©ãããŠããã
â povray35.rgb.txt
ImageMagick ã«ãŠå€ãå®çŸ©ãããŠããè²åãš RGB å€ 675 è²ã¯ãååã§å¥ã® RGB å€ãç»é²ãããŠããããããã gray obs
, green obs
, maroon obs
, purple obs
ã®ããã«å°åããŠãããããã©ã¡ããæ°æ§ãã¯æªç¢ºèªã§ã®æ©æ¢°åŠçãªã®ã ããå¥ããã W3C ã«ããå€æŽè²ãšåããªã®ã§ãè²åã«ãããéåæãªã©äŒŒãåæ©ã«ããå€æŽã ã£ãã®ã ããã
â imagemagick.rgb.txt
X11R6 æ代㮠X11/rgb.txt
752 è²ã¯ã93 è²ãå€ãã詳现äžæããã®ããã«ãX11/rgb.txt
ã«ã¯ããªãšãŒã·ã§ã³ãååšããã
â x11r6.rgb.txt
äœåŠã ã£ããã®ãµã€ãã®æ¥æ¬ã®è²åã«ã¯ãåã挢åã 2 åãã(ãèè²è²ã, ãäž¹ããè²ã¯åå€)ãåãèªã¿ã 4 è²ãã(ãããããã, ãããŸããã, ãããã, ãããããã)ããã€ãŠãã¿ã€ã ãªãŒã«ãæŸåŽãããè²ããŸã§ç»é²ãããä»ã§ãéå®ããŠãããïŒåèã«ãã URL ã倱念ããŠããŸããŸããããããŸãããïŒ
â rgb.txt.ja
ãã¡ãã®æ¥æ¬ã®äŒçµ±è²ã«ã¯ãåãèªã¿ã 8 è²ãã(ãããããã, ãããã¡ãã, ããã³ã¡ãã, ãããããã¡ãã, ããããããã, ãããŸããã, ããããã¡ãã, ãããããã)ã
â rgb.ja.txt
ãã¡ãã®äžåœã®äŒçµ±è²ã«ã¯ãåãèªã¿ã 7 è²ãã(ãã€ãšã³ãã³ã, ãã·ã¥ãŒãã³ã, ãã¿ã³ãã¯ã³ã, ããã¥ã³ãªã¥ãŒã, ãã«ãŒãã€ã, ããŠãŒãªã¥ãŒã, ãã·ã§ã³ã©ã³ã)ã
â rgb.zh.txt
ãã¡ãã®ã¢ã¡ãªã«ã®äŒçµ±è²ã«ã¯ãW3C ã«ããè²åã«éãªããã®ããªãã®ã§ãçšéã«ãã£ãŠã¯äœ¿ãåæããããšæããæ¥æ¬ã®äŒçµ±è²ãšæ¯ã¹ãŠåè²ã«è¿ããã¯ãã«ãªè²åããå€ãã
â rgb.en_US.txt
ãã¡ãã®ãšãŒãããã®äŒçµ±è²ã«ã¯ãW3C ã«ããè²åã«éãªããã®ã 23 è²ãããããªãè²åããç°ãªãã®ã§ã䜿ãæ¹ã«ãã£ãŠã¯é°å²æ°ãåãæ¿ãããªã©é¢çœããšæããç±³åœãšæ¯ã¹ãŠã·ãã¯ãªè²åããå€ãã
â rgb.eu.txt
ãã¡ãã®ã€ã®ãªã¹ã®äŒçµ±è²ã«ã¯ã7 è² signalred
, maroon
, mustard
, nightgreen
, midnightblue
, midnightblue
, mallow
ååãããããæããã«èª€æ€ãä»ã«ãã¿ã€ããååšããããã§ãæå
ã§ã¯ä¿®æ£ããŠãããã
â rgb.en_GB.txt
ãã¡ãã®ãã©ã³ã¹ã®äŒçµ±è²ã«ã¯ã2 è² palme
, blue indigo sombre
ååãååšããã
â rgb.fr.txt
ãã¡ãã®ã¢ããªã«ã®äŒçµ±è²ã¯ãç±æ¥ãããããªããåœæãã¹ããŒããé¢ä¿ããŠããã®ããªã
â rgb.af.txt
ãã¡ãã®ããŒã¹ããŒã«ã©ãŒ 366 è²ã¯ãé幎ãå«ããŠäžå¹Žéã®åæ¥ã«è²ãå²ãåœãŠããã®ããããèå³æ·±ãããäœãç±æ¥ãäžæã
â birthday.rgb.ja.txt
WEB ã»ãŒãã«ã©ãŒ 216 è²ã¯ãPseudo ã«ã©ãŒã¯ã©ã¹ã§ãèªç¶ã«è²åœ©è¡šçŸãåããªãããããã®è²æ°ã«è²ãå²ãåœãŠããã®ã§ããã
â websafe216.rgb.txt
W3C ã«ããè²å 140 è²ãã¹ãã«ãã¹(lavender
, papayawhip
, crimson
ã® typo ããš)ãïŒã€ããã®ã§æ³šæããšããããäœå件ãééã£ãè²åãæ¢ã«ãããã«æµåžããŠãããæå
ã§ã¯ä¿®æ£ããŠãããã
â web.rgb.txt
ãã¡ãã®ã¢ãããŒã³ 256 è²ãã¯ã¢ã«ãŽãªãºã ã§ä»»æã®è²æ°ãç®åºå¯èœã ããäžåºŠè¯ãè²æ°ã§æçšã§ããã
â monotone256.rgb.txt
ãã¡ãã®ã°ã©ããŒã·ã§ã³ 432 è²ãã¯ã¢ã«ãŽãªãºã ã§ä»»æã®è²æ°ãç®åºå¯èœã ããäžåºŠè¯ãè²æ°ã§æçšã§ããã
â gradation432.rgb.txt
ãã¡ãã®ãã¹ãã«ã«ã©ãŒ 300 è²ãã¯ã¢ã«ãŽãªãºã ã§ä»»æã®è²æ°ãç®åºå¯èœã ããäžåºŠè¯ãè²æ°ã§æçšã§ããã
â pastel300.rgb.txt
ãã¡ãã®ããããã«ã©ãŒ 300 è²ãã¯ã¢ã«ãŽãªãºã ã§ä»»æã®è²æ°ãç®åºå¯èœã ããäžåºŠè¯ãè²æ°ã§æçšã§ããã
â vivid300.rgb.txt
Microsoft Word ãªã©ã§äœ¿çšãããŠãã 10 è²ãã¬ããã¯ãå°ãªãè²æ°ã§åŒå¥ã«æçšãªæå°ã»ãããšèšããã
â microsoft-palette-10.rgb.txt
Apple Pages ãªã©ã§äœ¿çšãããŠãã 29 è²ãã¬ããã¯ãå°ãªãè²æ°ã§åŒå¥ã«å€§å€æçšã§ããã
Apple macOS ã§äœ¿çšãããŠãã 48 è²ãã¬ããã¯ãå°ãªãè²æ°ã§åŒå¥ã«æçšã§ããã
ãªãŒãã³ãœãŒã¹ã®éçºè çéã§éçšãããŠããã©ã€ãã¢ãŒããããŒã¯ã¢ãŒãäž¡æ¹ã®äœæ¥ç°å¢ã§äœ¿ããæå°åºæ¬ 16 è²ãSolarizedãããŸããŸãªå Žé¢ã§æ¥µããŠæçšã§ããã
â solarized-16.rgb.txt
äžèšã®ã¢ã«ãŽãªãºã ã§ç®åºå¯èœãªã«ã©ãŒããŒãã«ãä»»æã®é調ã§çæã§ãããã©ãŒã ãäœæããã®ã§ã掻çšããã ãããã
1 次å æ å ±ã2 次å æ å ±ã3 次å æ å ±ãªã©ã®é åºã«çªå·ãã€ããè²åããå¯èŠåããéã«æçšã§ããã
ã·ã¹ãã ã«ã©ãŒãšããŠæå®ã§ããååã¯ãã©ãŠã¶ã«ãã£ãŠç°ãªãã
ãªããšãFirefox ã§ã® GrayText ã¯ééçã«ããç°è²ããããé»å°ã ãšäžå¯èŠã§ãããèæ¯è²ãé»è²ä»¥å€ã§ããããšãåæãšããŠãããšããããšã§ãããChrome ã§ã¯ç°è²ã«ãªããã¡ãªã¿ã« â ã¯éæšå¥šã§ããã
æè¿ããããªããšããã£ãã
ãUntitled Goose Game ãããããã¬ãã§ãŠããã£ãŠæ¥ãïŒãããšããã²ãŒã ã§åšãç®ãããç²ããŠé çãããããšããããšããã£ãã
ããã¯ããã¹ãã«ã«ã©ãŒãåºèª¿ãšãããã³ã¬ãã£ã¡ã³ãžã§ã³ (ããªãŽã³ã«ãã 3D ã¬ã³ããªã³ã°ãã»ã«ã¢ãã¡é¢šã«ãã¯ã¹ãã£åŠçããããã®ã®æ) ã®ã²ãŒã ã§ããã
ããšããšçè ã¯ãã¹ãã«ã«ã©ãŒã¯ç®ã«åªãããšæã蟌ãã§ããã®ã§ãäžæè°ã«æã£ãŠè©Šãã«ãã®ã²ãŒã ã§ãã°ããéãã§ã¿ãããšã«ããã
確ãã«ä»ã®ã²ãŒã ãªã©ãããæ©ãã«ç®ãçããªããæ £ããŠãããšæã£ãã軜ãé çãŸã§ããã
ããããHSL è²ç©ºéã§èããŠã¿ãã°ããã¹ãã«ã«ã©ãŒã¯èŒåºŠã 50% 以äžã®é åãããããã«ã©ãŒã¯èŒåºŠã 50% 以äžã®é åããã£ãŠããã£ã¹ãã¬ã€ã«ãŠæããè²ã°ãããã²ãŒã ã§å šé¢é è²ãããŠãããããªãã®ãªã®ã§ããã
話å€ãã£ãŠãæšä»æµè¡ãã®ãŠã£ã³ããŠã·ã¹ãã ã®ããã©ãããã¶ã€ã³ããç®ãç²ããåå ã¯ãã®é è²ã«ããã®ã ãšèãããããããèããŠãããããã®åŸæµè¡ãã®ãããŒã¯ã¢ãŒãããšããã®é»èæ¯ã§ããã
ããããããããã³ãããšèšãããªããšèšãã®ãããã©ãããã¶ã€ã³ã®ããã§ãã€ã¢ãã°ãŠã£ã³ããŠã«æ°ã¥ãã«ããããç®ç«ãããããšãã©ãããã¶ã€ã³ã®ãŸãŸãã®ãã€é è²ã«ãªããã¡ã§ç®ãç²ãããããšãããé»èæ¯ã§èŒåºŠã®å·®ãæ¿ããããäœèšã«ç®ãç²ããããã®ã§ã¯ãªãããããããŒã¯ã¢ãŒããªã©æ ¹æ¬çãªè§£æ±ºã«ãªã£ãŠããªãã®ã ãå°€ãããŒã¯ã¢ãŒããªããã®ã¯ãã¹ããŒããã©ã³ã®ããããªãŒã®æã¡ãããããããããªã®ã ããããã©ãããã¶ã€ã³ããèãçŽããæ¹ãããã®ã§ã¯ããšå人çã«ã¯æã£ãŠããã