SlideShare a Scribd company logo
1 of 38
プログラマのための
 「色」選択入門


   2011/8/28
自己紹介


Twitter:  @saucerjp

名前:オバラ ツカサ

フリーのデザイナしています。
紙物とか、特殊紙とか。最近はweb
目的
プログラマが色選択する必要がある時に、どうやっ
て色を選んで良いか悩むと言う話を良く耳にします。
それはもしかして、色が無限にあるように見えている
からなんじゃないでしょうか。

それなら、色の入門的な部分を知ってもらい、無限
に見えていた「色」を身近にして、センス(なんとな
くクリック)だけに頼らない色選択方法を覚えちゃい
ましょう。

開発者にも、もっと色と仲良くなってもらいたい!
目標



     Basic 16 Colors(Red,Greenなど)、
Web Safe Color(216色)やRGBカラースライダを、
 なるべく使わずに色を選択できるようになりたい。
色の話を始めるその前に、
簡単な光と色の関係について
人間の感じる色とは

人間が色を感じるのは、
光を眼球の奥、網膜にあ
る錐体細胞部分が、可視
光の刺激を受けたときに
色と感じます。

簡単に言うと目の中に色
を感じる細胞があるって
事です。(厳密には違います)
※明るさを感じるのは桿体細胞
じゃあ、人間が色と感じる
  可視光ってなに?
可視光とは

   人間が見ることのできる範囲の波長の事

   おおよそ380nmぐらい∼750nmぐらいの範囲
   (これが人間が感じ得る色の全て)




※紫∼赤でそれより外はそれぞれ紫外線、赤外線
凄くざっくりとした言い方をすれば、
色は紫、青、緑、黄、赤のどれかでしかないです。

人間は可視光の範囲の波長が目に飛び込んでくる
と色と感じます。

テレビやPCディスプレイ、印刷物で色を表現す
るっていうことは、結局はこの波長を作り出すっ
てことなんです。
じゃあ、じゃあ、実際にテレビや印刷物は
どうやってその波長の色を作っているの?
色を表現する方法
     (加法混色と減法混色)


この後簡単に解説しますが、この2つをちゃんと理解し
てもらうには、波長の話をいっぱいしないといけなくて
時間が足りないので、今回は「色を自在に表現するには
2種類の方法が有るんだなぁ」で、良いと思います。
加法混色とは
波長を加える事で色を表現する方法

      テレビやパソコンのディスプレ
      イなど自ら光って色を出すのが
      加法混色です。

      赤R、緑G、青Bがすべて重なる
      と白になるってやつですね。

      みなさんが開発中のモニタで表
      現される色は、全て加法混色で
      の色表現です。
減法混色とは
波長を吸収する事で色を表現する方法

     印刷物や絵の具、クレヨンなど、光が
     無いと見えない色は、減法混色です。

     シアン、マゼンダ、イエローがすべて
     重なると黒になるってやつですね。

     ただ、印刷の場合はこの三色の混色で
     は黒として薄いので黒インクを別途追
     加してCMYKとなります。
なので、「Webサイトをプリントして確
認してみよう」って事をすると、色表現
方法は、加法混色(モニタ)から減法混
色(紙)に変換されています。
色を選ぶために
最低限覚えたい2つの事
「色相・彩度・明度」
     と
   「色相環」
ひとつめ
色相・彩度・明度

この3つの違いを理解すると、色の
持つパラメータがスッキリ分解され
て色を理解しやすくなります。
これを簡単に理解するために、
      HSBスライダを使います。




    Macならテキストエディット開いて、
フォーマット>フォント>カラーパネルを表示、です。
色相について


     スライダのH(色相)部分




色相は赤、黄、緑、青、紫といった色の違いです。

0∼360 で色味が変化します。
彩度について


       スライダのS(彩度)部分




色の鮮やかさです。
0∼100%で0に近づくほど色味は失われ、
0で無彩色(グレー)となります
※解説はしませんが、彩度はこの後説明する明度に連動して変化します。
明度について


    スライダのB(明度)部分




色の明るさです。
0∼100%で0が黒、100が白となります。

彩度がゼロの場合はグレースケールですね。
ふたつめ
色相環

さっき出てきた色相の分布を知るのに便利です。

近似色やら補色やらは瞬間で理解できます。

カラーバリエーションなども考えやすくなります。
色相環とは




  「色相・彩度・明度」で出てきた色相部分を
順序立てて円にして並べたものを色相環と言います。
使い方
カラフルなものを作りたければ、
72 づつ5色選ぶとか…




緑っぽいサイトを作りたければ、
40 以内で5色選ぶとか…
近似色とは

 読んだままで近い色の事です。
 図で言うと、例えば5Rの近似
 色は5RPとか5YRとかです。
 角度のほうが直感的です。選ん
 だ色から左右40 くらいまでで
 しょうか。

 最初に選んだ色の印象を損なわ
 ずに色展開できます。
 ※どこまでが近似色って範囲はさまざまですが、40 位までとい
 う認識で良いと思います。
補色とは

 選んだ色から一番遠い色です。
 図で言うと、例えば5Rの補色
 は5BGです。

 角度で言うと、選んだ色から
 180 です。

 アクセントに良く使われます。
さて、やっとここから本題…
プログラマのための
 「色」選択入門
今回登場した、HSBスライダ(色相・彩度・明度)と「色相
環」を使えば、まず、色相環からベースの色相を選んで、
それを好みの明るさ(暗さ)にして、鮮やかさを調節して、
さらに色相環を使って、「近似色相」や「補色」を選択し
て、また明るさや鮮やかさを調節…
って、これは普通にプロの色選択だっ!
HSBでの色選択の何が難しいって?
   それは彩度のコントロール。
HSBスライダで彩度100%、明度100%固定で、色相のみ15 づつ24段階移動した場合




                  こんなに彩度が違う!




彩度を調節しながら、24段階移動した場合
だから、バランスの良い
色を作るのって難しいんですね。
と言うことで、HSBスライダは諦めて、
 簡単にトーンの合った色を選択できる
   Webアプリを作りました。

       色に凄い興味が出ちゃった!って方は、
  是非HSBスライダをグリグリして色を作ってみてください。
Web Color Palette

今回説明した、「色相・彩度・明度」
と「色相環」を理解していれば難なく
使えるアプリにしているつもりです。


http://saucer.jp/wcp
に置いてありますが、できれば今日、
ゆる∼いライセンスをつけて、Git Hub
に公開して、機能を向上させていけた
らなって思ってます。



では、使い方の説明を…

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Random 110828031841-phpapp02

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n