JP2011100244A - Character color proposing device, character color proposing method and program - Google Patents

Character color proposing device, character color proposing method and program Download PDF

Info

Publication number
JP2011100244A
JP2011100244A JP2009253727A JP2009253727A JP2011100244A JP 2011100244 A JP2011100244 A JP 2011100244A JP 2009253727 A JP2009253727 A JP 2009253727A JP 2009253727 A JP2009253727 A JP 2009253727A JP 2011100244 A JP2011100244 A JP 2011100244A
Authority
JP
Japan
Prior art keywords
color
character
character color
candidate
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009253727A
Other languages
Japanese (ja)
Inventor
Harumi Saito
晴美 齋藤
Yoko Asano
陽子 浅野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009253727A priority Critical patent/JP2011100244A/en
Publication of JP2011100244A publication Critical patent/JP2011100244A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a character color proposing device, a character color proposing method and a program, for automatically maintaining brightness contrast within a range of a hue, which is freely designated, in coloring an electronic image and an electronic content. <P>SOLUTION: The character color proposing device includes a color characteristic database which stores, with respect to a predetermined color, a plurality of pieces of information of color code value, brightness value and color phase angle as a set. An input background color input by a background color input means and a character color selected as a result of processing of the character color proposing device are displayed. The brightness value of the background color is extracted, a range of brightness value having a brightness contrast with character visibility higher than a predetermined value is calculated based on the brightness value of the background color, and candidate colors are extracted from the calculated range of brightness value. A user designates a character color. The candidate color designated by the user from the extracted candidate colors through the character color designation means is displayed. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、電子画像と電子コンテンツとに配色する際に、色相を自由に指定し、この指定した色相の範囲内で、明度のコントラストを自動的に保つ文字の候補色を提案し、これによって、文字の視認性を高めるデザインを、効率よく行うことができる文字色提案装置、文字色提案方法およびプログラムに関する。   The present invention proposes a candidate color for a character that automatically specifies a hue and automatically maintains brightness contrast within the range of the specified hue when coloring an electronic image and electronic content. The present invention relates to a character color proposing device, a character color proposing method, and a program capable of efficiently performing design for improving the visibility of characters.

近年、インターネットが社会において広く普及し、様々な環境で閲覧されることが求められ、様々な特徴を持つ利用者がいることを想定したウェブコンテンツ作成と提供とが求められている。この中で、ウェブサイトのアクセシビリティを担保するためのチェック項目を記述した「ウェブアクセシビリティガイドライン」が重要視されている(たとえば、非特許文献1参照)。この非参考文献1を、以下、「JIS」という。   2. Description of the Related Art In recent years, the Internet has become widespread in society and is required to be browsed in various environments, and it has been required to create and provide web contents assuming that there are users with various characteristics. Among these, “Web accessibility guidelines” describing check items for ensuring accessibility of websites are regarded as important (for example, see Non-Patent Document 1). This non-reference document 1 is hereinafter referred to as “JIS”.

このJISは、2008年にWorld Wide Web Consortium(以下、「W3C」という)によって策定されたWeb Content Accessibility Guidelines 2.0(以下、「WCAG2.0」という)を受けて改定される予定である。   This JIS is scheduled to be revised in response to Web Content Accessibility Guidelines 2.0 (hereinafter referred to as “WCAG 2.0”) formulated by the World Wide Web Consortium (hereinafter referred to as “W3C”) in 2008.

このガイドラインのチェック項目の中に、ウェブサイトの配色に関する項目があり、背景色と文字色との2色に対して、明るさのコントラスト(明るさの違い)の計算式と、コントラスト比の基準とが設けられている。この基準を満たしていれば、背景に対して、文字が読みやすいと判断し、基準を満たしていなければ、文字が読みにくいと判断する。   Among the check items of this guideline, there is an item related to the color scheme of the website. For the two colors of background color and text color, the formula for calculating the brightness contrast (difference in brightness) and the standard for the contrast ratio And are provided. If this criterion is satisfied, it is determined that the character is easy to read against the background. If the criterion is not satisfied, it is determined that the character is difficult to read.

JIS X 8341-3:2004「高齢者・障害者等配慮設計指針−情報通信における機器,ソフトウェア及びサービス−第3部:ウェブコンテンツ」日本規格協会、平成16年6月20日発行、pp.13-14JIS X 8341-3: 2004 "Guidelines for Consideration of Elderly Persons and Persons with Disabilities-Equipment, Software and Services in Information Communication-Part 3: Web Content", Japanese Standards Association, issued on June 20, 2004, pp.13 -14

しかし、WCAG2.0に記載されているコントラストの計算式は、明るさのコントラストを考慮しているので、いわゆる「赤」や「青」等、直感的に把握しやすい色相(色あい)の情報は、考慮されていない。計算式のみを利用して候補色を求めると、複数の色相にまたがった膨大な数の候補が出るので、デザイナが色を選ぶ際には,不必要な情報になる場合がある。   However, since the contrast calculation formula described in WCAG 2.0 considers the contrast of brightness, information on the hue (hue) that is easy to grasp intuitively such as “red” and “blue” is not available. Not considered. If a candidate color is obtained by using only the calculation formula, a huge number of candidates appear across a plurality of hues. Therefore, when the designer selects a color, it may become unnecessary information.

また、実際のウェブデザインでは、1つの背景色に対して、テキスト文字の色、リンク文字の色、アクティブリンク文字の色、既読リンク文字の色という4種類の文字の色を,それぞれが区別可能であるように決定する必要がある。   In actual web design, each character is distinguished from one background color: text character color, link character color, active link character color, and read link character color. It needs to be determined to be possible.

上記従来例において、コントラストの計算式を用いて、背景色と文字色との1対1のチェックを行うことは手間がかかるという問題がある。   In the above conventional example, there is a problem that it is troublesome to perform a one-to-one check between the background color and the character color using the contrast calculation formula.

また、上記従来例では、デザイナは、それぞれの文字色を色相によって区別しようとする場合が多く、文字の視認性(読みやすさ)を高めるにあたり、明るさのコントラスト比だけではなく、色相を考慮した候補色の提案が求められている。   In the above conventional example, the designer often tries to distinguish each character color according to the hue. In order to improve the visibility (readability) of the character, the designer considers not only the brightness contrast ratio but also the hue. There is a need for proposed candidate colors.

本発明は、電子画像と電子コンテンツとに配色する際に、色相を自由に指定した場合、指定した色相の範囲内で、明度のコントラストを自動的に保つことができる文字色提案装置、文字色提案方法およびプログラムを提供することを目的とする。   The present invention relates to a character color proposing device and a character color that can automatically maintain brightness contrast within a specified hue range when a hue is freely specified when colorizing an electronic image and electronic content. The purpose is to provide a proposed method and program.

本発明は、電子画像の色を提案する文字色提案装置において、背景色を入力する背景色入力手段と、上記背景色入力手段が入力した背景色と、上記文字色提案装置の処理の結果選択された文字色とを表示する結果表示手段と、背景色の明度値を抽出する背景色明度値抽出手段と、所定の色に関して、色コード値、明度値、色相角のうちの複数の情報をセットとして格納している色特性データベースと、背景色の明度値に基づいて、文字の視認性が所定値よりも高い明度コントラストを持つ明度値の範囲を算出する文字色明度値範囲算出手段と、上記文字色明度値範囲算出手段が算出した明度値の範囲から、候補色を抽出する文字色候補抽出手段と、ユーザが文字色を指定する文字色指定手段と、上記文字色候補抽出手段が抽出した候補色の中から、上記文字色指定手段を介してユーザが指定した候補色を表示する候補色表示手段とを有する文字色提案装置である。   The present invention provides a character color proposing device that proposes a color of an electronic image, a background color input means for inputting a background color, a background color input by the background color input means, and a result selection of the processing of the character color proposing device. A result display means for displaying the character color, a background color lightness value extraction means for extracting the lightness value of the background color, and a plurality of pieces of information of the color code value, the lightness value, and the hue angle for a predetermined color. A character color brightness value range calculating means for calculating a range of brightness values having brightness contrast where the visibility of a character is higher than a predetermined value, based on the color characteristic database stored as a set, and the brightness value of the background color; Extracted by the character color candidate extracting means for extracting candidate colors, the character color specifying means for specifying the character color by the user, and the character color candidate extracting means from the brightness value range calculated by the character color brightness value range calculating means. Of candidate colors Al, a character color proposed device having a candidate color display means for displaying the candidate color specified by the user through the character color designating means.

本発明によれば、電子画像と電子コンテンツとに配色する際に、色相を自由に指定した場合、指定した色相の範囲内で、明度のコントラストを自動的に保つことができるという効果を奏する。   According to the present invention, when a hue is freely specified when arranging an electronic image and an electronic content, the brightness contrast can be automatically maintained within the specified hue range.

また、本発明によれば、文字の候補色を提案するので、文字の視認性を高めるデザインを効率よく行うことができるという効果を奏する。   In addition, according to the present invention, since the candidate color of the character is proposed, there is an effect that the design for improving the visibility of the character can be efficiently performed.

また、本発明によれば、複数の文字色を決定する際に、文字間の色相が重複しないという効果を奏する。   In addition, according to the present invention, there is an effect that the hues between characters do not overlap when determining a plurality of character colors.

本発明の実施例1である文字色提案装置100を示すブロック図である。It is a block diagram which shows the character color proposal apparatus 100 which is Example 1 of this invention. 色特性データベース14が有する色相の分類例を示す図である。It is a figure which shows the example of classification | category of the hue which the color characteristic database 14 has. 色特性データベース14に格納されている色コード値、明度値、色相角のセット例を示す模式図である。FIG. 6 is a schematic diagram illustrating a set example of color code values, brightness values, and hue angles stored in a color characteristic database 14. 文字色提案装置100における処理の流れを示すフローチャートである。4 is a flowchart showing a flow of processing in the character color proposing device 100. 文字色提案装置100の処理の説明図である。It is explanatory drawing of the process of the character color proposal apparatus. 本発明の実施例2である文字色提案装置の処理の流れを示す図である。It is a figure which shows the flow of a process of the character color proposal apparatus which is Example 2 of this invention. 本発明の実施例2である文字色提案装置の処理の説明図であり、2回目の文字色入力動作の説明図である。It is explanatory drawing of the process of the character color proposal apparatus which is Example 2 of this invention, and is explanatory drawing of the character color input operation of the 2nd time.

発明を実施するための形態は、以下の実施例である。   The modes for carrying out the invention are the following examples.

図1は、本発明の実施例1である文字色提案装置100を示すブロック図である。   FIG. 1 is a block diagram showing a character color proposing device 100 that is Embodiment 1 of the present invention.

文字色提案装置100は、PC内で単独動作するアプリケーションとして実施され、背景色入力手段11と、結果表示手段12と、背景色明度値抽出手段13と、色特性データベース14と、文字色明度値範囲算出手段15と、文字色候補抽出手段16と、文字色指定手段17と、候補色表示手段18とを有する。   The character color proposing device 100 is implemented as an application that operates independently in a PC, and includes a background color input means 11, a result display means 12, a background color lightness value extraction means 13, a color characteristic database 14, and a character color lightness value. A range calculation unit 15, a character color candidate extraction unit 16, a character color designation unit 17, and a candidate color display unit 18 are included.

背景色入力手段11は、背景色を入力する手段である。結果表示手段12は、背景色入力手段11が入力した背景色と、文字色提案装置100の処理の結果選択された文字色とを表示する手段である。背景色明度値抽出手段13は、背景色の明度値を抽出する手段である。   The background color input means 11 is a means for inputting a background color. The result display means 12 is a means for displaying the background color input by the background color input means 11 and the character color selected as a result of processing by the character color proposing device 100. The background color lightness value extracting means 13 is a means for extracting the lightness value of the background color.

色特性データベース14は、HTML言語で使用される色コード値と、それらの色の明度(明るさ)値と、色相角とをセットになって保存しているデータベースである。つまり、色特性データベース14は、所定の色に関して、色コード値、明度値、色相角うちの複数の情報をセットとして格納しているデータベースである。   The color characteristic database 14 is a database in which color code values used in the HTML language, brightness (brightness) values of those colors, and hue angles are stored as a set. That is, the color characteristic database 14 is a database that stores a plurality of pieces of information among color code values, lightness values, and hue angles for a predetermined color.

文字色明度値範囲算出手段15は、背景色の明度値に基づいて、文字の視認性が所定値よりも高い明度コントラストを持つ明度値の範囲を算出する手段である。文字色候補抽出手段16は、上記文字色明度値範囲算出手段が算出した明度値の範囲から、候補色を抽出する手段である。   The character color lightness value range calculation means 15 is a means for calculating a lightness value range having a lightness contrast in which the character visibility is higher than a predetermined value based on the lightness value of the background color. The character color candidate extraction means 16 is a means for extracting candidate colors from the brightness value range calculated by the character color brightness value range calculation means.

文字色指定手段17は、ユーザが文字色を指定する手段である。候補色表示手段18は、文字色候補抽出手段16が抽出した候補色の中から、文字色指定手段17を介してユーザが指定した候補色を表示する手段である。   The character color specifying means 17 is means for the user to specify a character color. The candidate color display means 18 is a means for displaying candidate colors designated by the user via the character color designation means 17 from the candidate colors extracted by the character color candidate extraction means 16.

次に、色特性データベース14が保有する情報について説明する。   Next, information held in the color characteristic database 14 will be described.

色特性データベース14は、HTML言語で使用される色コード値と、それらの色の明度(明るさ)値と、色相角とをセットで保存している。   The color characteristic database 14 stores color code values used in the HTML language, brightness (brightness) values of those colors, and hue angles as a set.

図2は、色特性データベース14が有する色相の分類例を示す図である。   FIG. 2 is a diagram illustrating an example of hue classification that the color characteristic database 14 has.

色コード値は、左からR値、G値、B値の順で記述されている値であり、それぞれが0から255の値で表現され、しかも、それぞれが16進数で記述されている。たとえば、赤の色コードは、R値が255であり、G値が0であり、B値が0であり、それぞれを、16進数で表現するとFF、00、00であり、これらを一連で記述すると、「FF0000」になり、これが、色コード赤として記述されている。この表記法は、R、G、Bのそれぞれの値の大きさを把握し易いが、明るさや色相等、色の見た目に強く関連する情報を把握することが困難である。したがって、全ての色コード値に対して明度値と色相角とを予め求め、色コード値と対応付けておく。   The color code values are values described in the order of R value, G value, and B value from the left. Each color code value is expressed by a value from 0 to 255, and each is described by a hexadecimal number. For example, the red color code has an R value of 255, a G value of 0, and a B value of 0. When expressed in hexadecimal, these are FF, 00, 00, which are described in series. Then, “FF0000” is obtained, which is described as a color code red. This notation method makes it easy to grasp the size of each value of R, G, and B, but it is difficult to grasp information that is strongly related to the appearance of color, such as brightness and hue. Therefore, brightness values and hue angles are obtained in advance for all color code values, and are associated with the color code values.

明度値Lumi.を算出する場合、まず色コードに基づいて、RGB値を求め、この求めたRGB値を使用し、WCAG2.0に記載されている次の式(1)によって、明度値Lumi.を求める。   When calculating the lightness value Lumi., First, an RGB value is obtained based on the color code, and the obtained RGB value is used to calculate the lightness value Lumi. By the following equation (1) described in WCAG2.0. Ask for.

Lumi. = 0.2126*((R/255)^2.2) + 0.7152*((G/255)^2.2) + 0.0722*((B/255)^2.2) …式(1)   Lumi. = 0.2126 * ((R / 255) ^ 2.2) + 0.7152 * ((G / 255) ^ 2.2) + 0.0722 * ((B / 255) ^ 2.2)… Formula (1)

色相角H値を算出する場合、RGB値を、一度L*a*b表色系へ変換し、その後に、色相角H値を算出する。色相角H値は、角度であり、図2に示すように、色相角H値が0°であれば、およそ赤色であり、色相角H値を示す角度が増加するに従って、黄色、緑、青、紫と変化し、一周すると、赤に戻る。   When calculating the hue angle H value, the RGB value is once converted into the L * a * b color system, and then the hue angle H value is calculated. The hue angle H value is an angle. As shown in FIG. 2, if the hue angle H value is 0 °, the hue angle H value is approximately red. As the angle indicating the hue angle H value increases, yellow, green, blue It changes to purple, and when it goes around, it returns to red.

ここでは、図2に示すように,色相角H値を示す360°を、0°から10等分し、それぞれの角度領域に対応する色相を、「赤」、「橙」、「黄」、「黄緑」、「緑」、「青緑」、「青」、「青紫」、「紫」、「赤紫」とし、このようにして、色相を10色相に分ける。   Here, as shown in FIG. 2, 360 ° indicating the hue angle H value is divided into 10 equal parts from 0 °, and the hues corresponding to the respective angle regions are set to “red”, “orange”, “yellow”, “Yellow green”, “green”, “blue green”, “blue”, “blue purple”, “purple”, “red purple” are used, and the hue is thus divided into 10 hues.

図3は、色特性データベース14に格納されている色コード値、明度値、色相角値のセット例を示す模式図である。   FIG. 3 is a schematic diagram illustrating a set example of color code values, brightness values, and hue angle values stored in the color characteristic database 14.

上記のようにして求めた全ての色コード値と、明度値と、色相角値(色相名のラベル)とのセットが、図3に示すように、色特性データベース14に保存されている。   A set of all color code values, brightness values, and hue angle values (hue name labels) obtained as described above is stored in the color characteristic database 14 as shown in FIG.

次に、文字色提案装置100の動作について説明する。   Next, the operation of the character color proposal device 100 will be described.

図4は、文字色提案装置100における処理の流れを示すフローチャートである。   FIG. 4 is a flowchart showing the flow of processing in the character color proposing device 100.

ステップS1で、ユーザが、背景色となる任意の1色を、背景色入力手段11に入力し、その色を表示する。背景色入力手段11に背景色が入力されると、その背景色を候補色表示手段18が受信する。背景色を入力する場合、たとえば色コード値をテキストで入力すること等によって、背景色を入力する。背景色入力手段11が入力した色の情報は、結果表示手段12に送られ、結果表示手段12が、背景色を表示する。   In step S1, the user inputs an arbitrary color as a background color to the background color input means 11, and displays the color. When a background color is input to the background color input means 11, the candidate color display means 18 receives the background color. When inputting the background color, for example, the background color is input by inputting a color code value as text. The color information input by the background color input unit 11 is sent to the result display unit 12, and the result display unit 12 displays the background color.

図5は、文字色提案装置100の処理の説明図である。   FIG. 5 is an explanatory diagram of processing of the character color proposing device 100.

図5に示す例では、上記16進数で表現する「BBEEFF」を、背景色としてテキスト入力し、その色を、文字色提案装置100全体の背景色として表示している。背景色入力手段11に入力された色の情報は、背景色明度値抽出手段13に送られる。   In the example shown in FIG. 5, “BBEEFF” expressed in hexadecimal notation is input as text as a background color, and the color is displayed as the background color of the entire character color proposing device 100. The color information input to the background color input unit 11 is sent to the background color lightness value extraction unit 13.

ステップS2では、背景色明度値抽出手段13が、背景色入力手段11から受信した色の情報を用いて、背景色の明るさ(明度)を求める。ここでは、色特性データベース14が保有している色コード値と明度値とのセットの情報に基づいて、入力された背景色の明度値Lumi_backgroundを取得する。この背景色の明度値の情報が、文字色明度値範囲算出手段15に送られる。   In step S <b> 2, the background color brightness value extraction unit 13 uses the color information received from the background color input unit 11 to determine the brightness (brightness) of the background color. Here, the lightness value Lumi_background of the input background color is acquired based on the set information of the color code value and the lightness value held in the color characteristic database 14. Information on the lightness value of the background color is sent to the character color lightness value range calculation means 15.

ステップS3で、文字色明度値範囲算出手段15が、背景色明度値抽出手段13から受信した背景色の明度値に対して、より見易い文字色の明度値を求める。この場合、WCAG2.0に記載されている明度コントラストの式を用いる。WCAG2.0では、背景色と文字色とについて、上記式(1)で求めた明度値Lumi値が大きい方の色を、明度値Lumi1とし、明度値Lumiが小さい方の色を、明度値Lumi2とする。上記より見易い文字色の明度値は、明度値Lumi1と明度値Lumi2とである。また、コントラスト値Cont.は、次の式(2)によって求める。   In step S <b> 3, the character color lightness value range calculation unit 15 obtains a lightness value of the character color that is easier to see with respect to the lightness value of the background color received from the background color lightness value extraction unit 13. In this case, the brightness contrast formula described in WCAG 2.0 is used. In WCAG 2.0, for the background color and the character color, the color with the larger lightness value Lumi value obtained by the above equation (1) is set as the lightness value Lumi1, and the color with the smaller lightness value Lumi is the lightness value Lumi2. And The lightness values of the character color that are easier to see than the above are the lightness value Lumi1 and the lightness value Lumi2. Further, the contrast value Cont. Is obtained by the following equation (2).

Cont. = (Lumi1+0.05)/(Lumi2+0.05) …式(2)
このコントラスト値Cont.が5以上、または10以上であれば、見易いレベルであると考える。上記式(2)を利用して、背景色の明度値Lumi_backgroundを使用して、
Lumi_min = Lumi_background/5 …式(3)
Lumi_max = Lumi_background*5 …式(4)
を求め、文字色の明度値のNG範囲Lumi_text_NG(文字色の明度値として不適切である範囲)を、
Lumi_min < Lumi_text_NG < Lumi_max …式(5)
とする。
Cont. = (Lumi1 + 0.05) / (Lumi2 + 0.05) ... Formula (2)
If this contrast value Cont. Is 5 or more, or 10 or more, it is considered that the level is easy to see. Using the above formula (2), using the lightness value Lumi_background of the background color,
Lumi_min = Lumi_background / 5 ... Formula (3)
Lumi_max = Lumi_background * 5 ... Formula (4)
NG range Lumi_text_NG of character color brightness value (a range that is inappropriate as a text color brightness value)
Lumi_min <Lumi_text_NG <Lumi_max (5)
And

上記式(5)から、適した文字の明度値Lumi_textは、
Lumi_text ≦ Lumi_min、 または、Lumi_max≦Lumi_text …式(6)
である。この文字色の明度値の情報が、文字色候補抽出手段16に送られる。
From the above equation (5), a suitable character brightness value Lumi_text is
Lumi_text ≤ Lumi_min, or Lumi_max ≤ Lumi_text ... Formula (6)
It is. Information on the brightness value of the character color is sent to the character color candidate extraction means 16.

ステップS4で、色特性データベース14に格納されている色の中から、文字色明度値範囲算出手段15が求めた、適した文字色の明度値Lumi_text(式(6)を満足する明度値)の色を、文字色候補抽出手段16が、全て取得する。ここで、色コード値だけでなく、色相の情報もセットで取得する。つまり、色コード値を、色相の情報とともに取得する。取得された色情報(色コード値+色相の情報)が、候補色表示手段18に送られる。   In step S4, the lightness value Lumi_text (lightness value satisfying the expression (6)) of a suitable character color obtained by the character color lightness value range calculation means 15 from the colors stored in the color characteristic database 14 is obtained. The character color candidate extraction means 16 acquires all colors. Here, not only the color code value but also the hue information is acquired as a set. That is, the color code value is acquired together with the hue information. The acquired color information (color code value + hue information) is sent to the candidate color display means 18.

ステップS5で、文字色として使用する色相を限定する。まず、文字色指定手段17が出力した信号を受けて、候補色表示手段18が起動する。候補色表示手段18は、初めに色相に関する表示を行う。たとえば、図5に示すような色相環のパレットが表示される。図5に示す例では、色相は、色特性データベース14に保有されている10色相で構成されている。そして、候補色表示手段18に表示されている色相のうちで、使用したい色相を、ユーザが、文字色指定手段17を介して1種類、指定する。   In step S5, the hue used as the character color is limited. First, the candidate color display means 18 is activated in response to the signal output from the character color designation means 17. The candidate color display means 18 first displays the hue. For example, a palette of hue circles as shown in FIG. 5 is displayed. In the example shown in FIG. 5, the hue is composed of 10 hues held in the color characteristic database 14. Then, the user designates one of the hues to be used among the hues displayed on the candidate color display means 18 via the character color designation means 17.

ステップS6では、ステップS5で指定された色相の情報に基づいて、文字色候補抽出手段16が選んだ文字色候補の中から、該当する色相の色のみを、候補色表示手段18が表示する。図5に示す例では、1つの色相について、上記式(6)で、Lumi_min以下である色と、Lumi_max以上である色とに分割して、表示する。   In step S6, based on the hue information specified in step S5, the candidate color display means 18 displays only the color of the corresponding hue from the character color candidates selected by the character color candidate extraction means 16. In the example illustrated in FIG. 5, one hue is displayed by being divided into a color that is equal to or smaller than Lumi_min and a color that is equal to or larger than Lumi_max in Expression (6).

ステップS7では、候補色表示手段18に表示されている候補色の中から、文字色指定手段17を介して、ユーザが1色を選択する。色を選択する場合、たとえば候補色表示手段18上で選択することが考えられる。選択された色の情報が、結果表示手段12に送られる。   In step S <b> 7, the user selects one color from the candidate colors displayed on the candidate color display unit 18 via the character color designation unit 17. When selecting a color, for example, selection on the candidate color display means 18 can be considered. Information on the selected color is sent to the result display means 12.

ステップS8では、文字色指定手段17で最終的に指定された文字色を使用して、ステップS1で表示していた背景色の上に文字として、結果表示手段12が表示する。たとえば、図5の「“文字テキストAB”」部分の色として表示する。   In step S8, using the character color finally specified by the character color specifying means 17, the result display means 12 displays it as a character on the background color displayed in step S1. For example, it is displayed as the color of the ““ text text AB ”” portion of FIG.

背景色入力手段11は、背景色として、色コード値をテキスト入力するが、他の入力方法を採用するようにしてもよい。たとえば、カラーパレットで指定し、ディスプレイ上の任意の色を取得する等でもよい。また、色コード値以外の、RGB値やそれ以外の色値を使用してもよい。   The background color input means 11 inputs the color code value as text as the background color, but other input methods may be adopted. For example, it may be specified by a color palette and an arbitrary color on the display may be acquired. Further, RGB values other than color code values and other color values may be used.

背景色の明度値は、色特性データベース14の情報を参照せず、背景色明度値抽出手段13が計算処理を行うようにしてもよい。しかし、処理の速さを考慮すると、色特性データベース14が予め保有している情報を参照することが好ましい。   The background color brightness value extraction means 13 may perform the calculation process without referring to the information of the color characteristic database 14 for the brightness value of the background color. However, in consideration of the processing speed, it is preferable to refer to information stored in advance in the color characteristic database 14.

色特性データベース14は、色相のカテゴリを10種類保有しているが、必ずしも10種類に限る必要はない。色相のカテゴリ数を、より多く、またはより少なくするようにしてもよい。これに伴い、候補色表示手段18が表示する色相も、必ずしも10種類である必要がない。   Although the color characteristic database 14 holds ten types of hue categories, it is not necessarily limited to ten types. The number of hue categories may be increased or decreased. Accordingly, the hues displayed by the candidate color display means 18 do not necessarily need to be ten types.

文字色明度値範囲算出手段15が求めた文字色の明度値の基準として、たとえばWCAG2.0におけるもう1つの基準であるコントラスト比10以上を採用するようにしてもよい。この場合、より厳しい基準であるので、候補となる色の数が少なくなる。また、文字色明度値範囲算出手段15で求める文字色の明度値の基準として、コントラスト比が5以上、10以上の両方の基準を用いてもよい。この場合、候補色表示手段18は、上記基準に応じて表示を変えることが必要である。なお、コントラスト比の基準値は、WCAG2.0で規定されている値を使用しているが、他の値であってもよい。   For example, a contrast ratio of 10 or more, which is another standard in WCAG 2.0, may be adopted as the standard for the lightness value of the character color obtained by the character color brightness value range calculation means 15. In this case, since it is a stricter standard, the number of candidate colors is reduced. In addition, as the reference of the lightness value of the character color obtained by the character color lightness value range calculation means 15, both of the contrast ratios of 5 or more and 10 or more may be used. In this case, it is necessary for the candidate color display means 18 to change the display according to the reference. The reference value for the contrast ratio uses a value defined by WCAG 2.0, but may be another value.

候補色表示手段18の表示方法は、必ずしも図5に示す方法でなくてもよく、任意である。色相を表示する場合、たとえば「赤」「橙」「黄」等のように文字として表示するようにしてもよい。また、候補色を表示する場合、たとえば図5に示すように色毎に区切りを入れるのではなく、グラデーションのカラーパレットで表示するようにしてもよい。または、文字色候補抽出手段16で抽出された色の全てを表示した上で、指定された色相以外の部分をグレーアウト(ウィンドウのボタン、選択部分がグレーになり、選択できない状態)にしてもよい。また、色の表示だけではなく、たとえば色コード値を表示するようにしてもよい。なお、もしコントラスト比の基準を2種類使用した場合、候補色を2種類に分けて表示するようにしてもよい。   The display method of the candidate color display means 18 is not necessarily the method shown in FIG. When the hue is displayed, it may be displayed as characters such as “red”, “orange”, “yellow”, and the like. Further, when displaying candidate colors, for example, as shown in FIG. 5, instead of separating each color, it may be displayed in a gradation color palette. Alternatively, all the colors extracted by the character color candidate extraction unit 16 may be displayed, and the portion other than the specified hue may be grayed out (the button of the window, the selected portion becomes gray and cannot be selected). . In addition to displaying colors, for example, color code values may be displayed. If two types of contrast ratio criteria are used, the candidate colors may be displayed in two types.

文字色指定手段17において、選択できる色相数を1種類に限定する必要はない。複数の種類の色相を選択できるようにしてもよい。   The character color designating unit 17 does not need to limit the number of hues that can be selected to one. A plurality of types of hues may be selected.

本発明の実施例2は、PC内で単独動作するアプリケーションとして実施される実施例である。   The second embodiment of the present invention is an embodiment that is implemented as an application that operates independently in a PC.

実施例2では、1つの背景色に対して、複数の文字について、それぞれ色を選択できる。このときに、文字色同士が、同じ色相にならないようにする。   In the second embodiment, colors can be selected for a plurality of characters with respect to one background color. At this time, the character colors are made not to have the same hue.

実施例2の文字色提案装置のブロック構成は、図1に示す文字色提案装置100と同様の構成である。実施例2である文字色提案装置は、背景色入力手段11と、結果表示手段12と、背景色明度値抽出手段13と、色特性データベース14と、文字色明度値範囲算出手段15と、文字色候補抽出手段16と、文字色指定手段17と、候補色表示手段18とを有する。   The block configuration of the character color proposing device of the second embodiment is the same as that of the character color proposing device 100 shown in FIG. The character color proposing device according to the second embodiment includes a background color input unit 11, a result display unit 12, a background color lightness value extraction unit 13, a color characteristic database 14, a character color lightness value range calculation unit 15, and a character. A color candidate extraction unit 16, a character color designation unit 17, and a candidate color display unit 18 are included.

図6は、本発明の実施例2である文字色提案装置の処理の流れを示す図である。   FIG. 6 is a diagram showing a processing flow of the character color proposing device according to the second embodiment of the present invention.

実施例2の処理の特徴は、実施例の処理において、ステップS9、S10を付加した点である。つまり、実施例2の処理において、実施例1におけるステップS1〜ステップS4が同じであり、ステップS5〜ステップS8の処理を、一度実行した後に、ステップS9、S10を追加して実行し、選択すべき文字色の数だけ、ステップS5〜ステップS9、S10を繰り返し実行し、終了する。   The feature of the processing of the second embodiment is that steps S9 and S10 are added to the processing of the second embodiment. That is, in the process of the second embodiment, steps S1 to S4 in the first embodiment are the same, and after the processes of steps S5 to S8 are executed once, steps S9 and S10 are additionally executed and selected. Steps S5 to S9 and S10 are repeatedly executed for the number of powers of the character color, and the process is terminated.

ステップS10で、1度目のステップS5で、文字色指定手段17を介して指定された色相について、次の回のステップS5では、指定できないように、指定された色相を除外する。この結果、候補色表示手段18に表示されている選択可能な色相の数が減る。   In step S10, the specified hue is excluded so that it cannot be specified in the next step S5 for the hue specified in the first step S5 via the character color specifying means 17. As a result, the number of selectable hues displayed on the candidate color display means 18 is reduced.

図7は、実施例2である文字色提案装置の処理の説明図であり、2回目の文字色入力動作の説明図である。   FIG. 7 is an explanatory diagram of processing of the character color proposing device according to the second embodiment, and is an explanatory diagram of a second character color input operation.

候補色表示手段18が色相を表示する場合、候補色表示手段18が表示する色相数が1つ減っている。ステップS9で選択すべき文字色が残っていると判断されると、予め指定されている選択すべき文字色の数だけ、ステップS5〜ステップS8の処理が繰り返される。図7に示す例の場合、3種類の文字の配色を行うので、ステップS5〜ステップS8の処理が、2回繰り返され、つまり、3回実行される。   When the candidate color display unit 18 displays a hue, the number of hues displayed by the candidate color display unit 18 is reduced by one. If it is determined in step S9 that the character color to be selected remains, the processes in steps S5 to S8 are repeated for the number of character colors to be selected that are specified in advance. In the case of the example shown in FIG. 7, since three types of character coloration are performed, the processing from step S5 to step S8 is repeated twice, that is, executed three times.

なお、図7に示す例において、候補色表示手段18では、2回目の色相表示の際の色相数を1つ減らすが、必ずしも1つの色相を除外するのではなく、たとえば、隣接している色相も除外するようにしてもよい。   In the example shown in FIG. 7, the candidate color display means 18 reduces the number of hues at the time of the second hue display by one, but does not necessarily exclude one hue, for example, adjacent hues. May also be excluded.

また、図7に示す例において、候補色表示手段18では、2回目の候補色表示について、色の表示のみを行っているが、1回目に決定された文字色と同じ明度値を持つ色にポインタをつけ、強調表示するようにしてもよい。このようにすることによって、色相は異なるが、同じ明度値を持つ色を選択し易い。   In the example shown in FIG. 7, the candidate color display means 18 displays only the color for the second candidate color display, but the color has the same brightness value as the character color determined for the first time. A pointer may be attached and highlighted. By doing so, it is easy to select colors having the same brightness value, although the hues are different.

また、上記実施例において、背景色入力手段11は、複数の文字を配色する際に、一度入力された色相を除外し、使用できないようにする手段である。   In the above-described embodiment, the background color input unit 11 is a unit that excludes a hue that has been input once when a plurality of characters are color-coded so that the character cannot be used.

上記実施例を方法の発明として把握することができる。つまり、上記実施例は、電子画像の色を提案する文字色提案方法において、背景色入力手段を介して入力された背景色と、上記文字色提案方法の結果選択された文字色とを、結果表示手段に表示する結果表示工程と、背景色の明度値を、背景色明度値抽出手段が抽出し、記憶装置に記憶する背景色明度値抽出工程と、背景色の明度値に基づいて、文字の視認性が所定値よりも高い明度コントラストを持つ明度値の範囲を、文字色明度値範囲算出手段が算出し、記憶装置に記憶する文字色明度値範囲算出工程と、上記文字色明度値範囲算出手段が算出した明度値の範囲から、文字色候補抽出手段が、候補色を抽出し、記憶装置に記憶する文字色候補抽出工程と、上記文字色候補抽出手段が抽出した候補色の中から、文字色指定手段を介してユーザが指定した候補色を表示する候補色表示工程とを有することを特徴とする文字色提案方法の例である。   The above embodiment can be grasped as a method invention. That is, in the character color proposing method for proposing the color of the electronic image, the above-described embodiment results in the background color input via the background color input means and the character color selected as a result of the character color proposing method as a result. Based on the result display step for displaying on the display means, the lightness value of the background color, extracted by the background color lightness value extracting means and stored in the storage device, and the lightness value of the background color A character color lightness value range calculating means for calculating a lightness value range having a lightness contrast higher than a predetermined value by the character color lightness value range calculating means and storing it in a storage device; and the character color lightness value range A character color candidate extraction unit extracts a candidate color from a range of brightness values calculated by the calculation unit, and stores the candidate color in a storage device, and the candidate color extracted by the character color candidate extraction unit. , The user via the character color designation means There is an example of a character color proposed method characterized by having a candidate color display step of displaying the specified candidate colors.

また、上記実施例をプログラムとして把握することができる。つまり、上記実施例は、請求項1または請求項2記載の文字色提案装置を構成する各手段としてコンピュータを機能させるプログラムを格納しているプログラムである。   Moreover, the said Example can be grasped | ascertained as a program. That is, the said Example is a program which has stored the program which functions a computer as each means which comprises the character color proposal apparatus of Claim 1 or Claim 2.

100…文字色提案装置、
11…背景色入力手段、
12…結果表示手段、
13…背景色明度値抽出手段、
14…色特性データベース、
15…文字色明度値範囲算出手段、
16…文字色候補抽出手段、
17…文字色指定手段、
18…候補色表示手段。
100: Character color proposing device,
11 ... Background color input means,
12 ... Result display means,
13 ... Background color lightness value extraction means,
14 ... Color property database,
15: Character color brightness value range calculating means,
16 ... Character color candidate extraction means,
17: Character color designation means,
18: Candidate color display means.

Claims (5)

電子画像の色を提案する文字色提案装置において、
背景色を入力する背景色入力手段と;
上記背景色入力手段が入力した背景色と、上記文字色提案装置の処理の結果選択された文字色とを表示する結果表示手段と;
背景色の明度値を抽出する背景色明度値抽出手段と;
所定の色に関して、色コード値、明度値、色相角のうちの複数の情報をセットとして格納している色特性データベースと;
背景色の明度値に基づいて、文字の視認性が所定値よりも高い明度コントラストを持つ明度値の範囲を算出する文字色明度値範囲算出手段と;
上記文字色明度値範囲算出手段が算出した明度値の範囲から、候補色を抽出する文字色候補抽出手段と;
ユーザが文字色を指定する文字色指定手段と;
上記文字色候補抽出手段が抽出した候補色の中から、上記文字色指定手段を介してユーザが指定した候補色を表示する候補色表示手段と;
を有することを特徴とする文字色提案装置。
In a character color proposing device that proposes the color of an electronic image,
A background color input means for inputting a background color;
A result display means for displaying the background color input by the background color input means and the character color selected as a result of the processing of the character color proposing device;
Background color lightness value extracting means for extracting the lightness value of the background color;
A color characteristic database storing a plurality of pieces of information of a color code value, a lightness value, and a hue angle for a predetermined color;
A character color lightness value range calculating means for calculating a lightness value range having a lightness contrast in which the character visibility is higher than a predetermined value based on the lightness value of the background color;
Character color candidate extraction means for extracting candidate colors from the brightness value range calculated by the character color brightness value range calculation means;
A character color specifying means for the user to specify a character color;
Candidate color display means for displaying candidate colors designated by the user via the character color designation means from among candidate colors extracted by the character color candidate extraction means;
A character color proposing device comprising:
請求項1において、
上記背景色入力手段は、複数の文字を配色する際に、一度入力された色相を除外し、使用できないようにする手段であることを特徴とする文字色提案装置。
In claim 1,
The background color input unit is a unit for excluding a hue that has been input once when arranging a plurality of characters so that the character color cannot be used.
電子画像の色を提案する文字色提案方法において、
背景色入力手段を介して入力された背景色と、上記文字色提案方法の結果選択された文字色とを、結果表示手段に表示する結果表示工程と;
背景色の明度値を、背景色明度値抽出手段が抽出し、記憶装置に記憶する背景色明度値抽出工程と;
背景色の明度値に基づいて、文字の視認性が所定値よりも高い明度コントラストを持つ明度値の範囲を、文字色明度値範囲算出手段が算出し、記憶装置に記憶する文字色明度値範囲算出工程と;
上記文字色明度値範囲算出手段が算出した明度値の範囲から、文字色候補抽出手段が、候補色を抽出し、記憶装置に記憶する文字色候補抽出工程と;
上記文字色候補抽出手段が抽出した候補色の中から、文字色指定手段を介してユーザが指定した候補色を表示する候補色表示工程と;
を有することを特徴とする文字色提案方法。
In the character color suggestion method for proposing the color of an electronic image,
A result display step of displaying on the result display means the background color input via the background color input means and the character color selected as a result of the character color proposal method;
A background color lightness value extracting step in which the lightness value of the background color is extracted by the background color lightness value extracting means and stored in the storage device;
Based on the brightness value of the background color, the character color brightness value range calculating means calculates a brightness value range having a brightness contrast where the character visibility is higher than a predetermined value, and stores it in the storage device. A calculation step;
A character color candidate extraction step in which the character color candidate extraction unit extracts candidate colors from the range of lightness values calculated by the character color lightness value range calculation unit;
A candidate color display step of displaying candidate colors designated by the user via the character color designation means from among the candidate colors extracted by the character color candidate extraction means;
A character color proposing method characterized by comprising:
請求項3において、
上記背景色入力工程は、複数の文字を配色する際に、一度入力された色相を除外し、使用できないようにする工程であることを特徴とする文字色提案方法。
In claim 3,
The background color input step is a step of excluding a hue that has been input once when arranging a plurality of characters so that the character color cannot be used.
請求項1または請求項2記載の文字色提案装置を構成する各手段としてコンピュータを機能させるプログラムを格納しているプログラム。   A program storing a program for causing a computer to function as each means constituting the character color proposing device according to claim 1 or 2.
JP2009253727A 2009-11-05 2009-11-05 Character color proposing device, character color proposing method and program Pending JP2011100244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009253727A JP2011100244A (en) 2009-11-05 2009-11-05 Character color proposing device, character color proposing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009253727A JP2011100244A (en) 2009-11-05 2009-11-05 Character color proposing device, character color proposing method and program

Publications (1)

Publication Number Publication Date
JP2011100244A true JP2011100244A (en) 2011-05-19

Family

ID=44191376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009253727A Pending JP2011100244A (en) 2009-11-05 2009-11-05 Character color proposing device, character color proposing method and program

Country Status (1)

Country Link
JP (1) JP2011100244A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014063463A (en) * 2011-11-30 2014-04-10 Jvc Kenwood Corp Content selection device, content selection method, and content selection program
JP2018022347A (en) * 2016-08-03 2018-02-08 日本電信電話株式会社 Coloration proposal device, coloration proposal method and program
CN109859283A (en) * 2018-12-22 2019-06-07 Oppo广东移动通信有限公司 One kind taking color method, takes color device, electronic equipment and can storage medium
US11145066B2 (en) * 2017-06-30 2021-10-12 Panasonic Intellectual Property Management Co., Ltd. Parcel recognition device, parcel sorting system, and parcel recognition method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002197403A (en) * 2000-12-26 2002-07-12 Nec Corp Web contents readability evaluation system, web contents color arrangement support system, its method and recording medium
JP2003044033A (en) * 2001-07-31 2003-02-14 Toyota Central Res & Dev Lab Inc Device and program for operating luminance, device and method for evaluating easiness of reading, display screen designing device, and image display device
JP2003044849A (en) * 2001-07-27 2003-02-14 Toyota Central Res & Dev Lab Inc Device and program for evaluating readability
JP4344775B1 (en) * 2008-08-04 2009-10-14 三菱電機株式会社 Image information confirmation apparatus and image information confirmation program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002197403A (en) * 2000-12-26 2002-07-12 Nec Corp Web contents readability evaluation system, web contents color arrangement support system, its method and recording medium
JP2003044849A (en) * 2001-07-27 2003-02-14 Toyota Central Res & Dev Lab Inc Device and program for evaluating readability
JP2003044033A (en) * 2001-07-31 2003-02-14 Toyota Central Res & Dev Lab Inc Device and program for operating luminance, device and method for evaluating easiness of reading, display screen designing device, and image display device
JP4344775B1 (en) * 2008-08-04 2009-10-14 三菱電機株式会社 Image information confirmation apparatus and image information confirmation program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014063463A (en) * 2011-11-30 2014-04-10 Jvc Kenwood Corp Content selection device, content selection method, and content selection program
JP2018022347A (en) * 2016-08-03 2018-02-08 日本電信電話株式会社 Coloration proposal device, coloration proposal method and program
US11145066B2 (en) * 2017-06-30 2021-10-12 Panasonic Intellectual Property Management Co., Ltd. Parcel recognition device, parcel sorting system, and parcel recognition method
CN109859283A (en) * 2018-12-22 2019-06-07 Oppo广东移动通信有限公司 One kind taking color method, takes color device, electronic equipment and can storage medium
CN109859283B (en) * 2018-12-22 2024-01-09 Oppo广东移动通信有限公司 Color taking method, color taking device, electronic equipment and storable medium

Similar Documents

Publication Publication Date Title
US7379074B2 (en) Semantically applying formatting to a presentation model
JP5437150B2 (en) Method and system for highlighting topic elements in a chart having multiple contrast elements of multiple colors
CA2823944C (en) Web-based architectural color selection system
JP5872927B2 (en) Dynamic threshold for conditional formatting
JP4583218B2 (en) Method, computer program, and system for evaluating target content
JP5209113B2 (en) Hierarchical presentation of tabular data
US20150033131A1 (en) Three dimensional conditional formatting
JP2001051761A (en) Automatic color contrast adjuster
JP2011100244A (en) Character color proposing device, character color proposing method and program
WO2016152277A1 (en) Recommendation device, recommendation system, recommendation method, and program
Yanagida et al. Color scheme adjustment by fuzzy constraint satisfaction for color vision deficiencies
JP6484592B2 (en) Color arrangement proposing device, color arrangement proposing method and program
JP5279085B2 (en) Color arrangement conversion apparatus and program
JP6372165B2 (en) Design management apparatus and program
JP2013003906A (en) Electronic document decoration device and electronic document decoration program
US20050129308A1 (en) Method, apparatus and program storage device for identifying a color of a displayed item using a non-color indicator
US7500189B2 (en) Method and system for generating colors using constrained color properties
JPWO2013145445A1 (en) Color evaluation apparatus, color evaluation method, and computer program
JP6109102B2 (en) Product search device, system, method and program
JP2021158588A (en) Image processing device, image processing system, and program
JPH10162010A (en) Method for displaying number of referencing times in document retrieval system
JP4974303B2 (en) Color conversion information generation apparatus, color conversion information generation method and program
JP7027288B2 (en) Decision device, decision method and decision program
JP2013137609A (en) Coloration processing device and operation method thereof
JP2012133195A (en) High visibility color presenting device, high visibility color presenting method and high visibility color presenting program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121026

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130308