470 likes | 681 Views
Color’s effect on Reaction Times. By: Gustavo Goretkin FLVS Science Fair February 18, 2008. Table of Contents. Introduction 3 Introduction-Purpose 4 Introduction-Purpose 5 Introduction-Purpose 6 Introduction-Preliminary Research 7 Introduction- Two Hypotheses 8
E N D
Color’s effect on Reaction Times By: Gustavo Goretkin FLVS Science Fair February 18, 2008
Table of Contents • Introduction 3 • Introduction-Purpose 4 • Introduction-Purpose 5 • Introduction-Purpose 6 • Introduction-Preliminary Research 7 • Introduction- Two Hypotheses 8 • Methods 9 • Methods-Definition of Terms 10 • Methods-Definition of Terms 11 • Methods-Materials 12 • Methods- Color Theory 13 • Methods- Color Theory: Additive System 14 • Methods-Colors Used 15 • Methods- Determining Color Distance 16 • Methods- Determining Color Distance Example 17 • Methods 18 • Methods Step 1 cont. 19 • Methods-Color Transitions 20 • Methods Step 1 The Flash App. 21 • Methods Step 1 The Flash App. 22 • Methods Step 1 The Flash App. 23 • Methods Step 1 The Flash App. The Trials 24 • Methods Step 1 The Flash App. The Trials 25 • Methods 26 • Methods 27 • Methods 28 • Results 29 • Results-Graph 1 30 • Results-Graph 2 31 • Results-Graph 3 32 • Results-Graph 4 33 • Results-Explanation 34 • Discussion 35 • Discussion 36 • Discussion 37 • Discussion-cont 38 • Discussion-Possible Errors39 • Discussion-Improvements40 • Discussion-Improvements41 • Conclusion 42 • Conclusion 43 • Conclusion-cont. 44 • Conclusion-Application45 • Acknowledgements 46 • Bibliography/References47
Introduction-Purpose • The researcher sought to discover any correlation between different color changes, and the time of reaction to those changes. • The researcher also wanted to see how colors which have a psychological and sociological impact (e.g. red-green in traffic lights) affect reaction time.
Introduction-Purpose • The idea for this project came to the researcher when he was attempting to find an experiment that could be conducted in the “virtual environment”. Not only did this have the added benefit of being able to experiment a large group of people in a relatively short timeframe, but it also allowed students in the researcher’s online classes to participate—something very suited to a virtual, online science fair.
Introduction-Purpose • The researcher concluded that a reaction-time measurer could be easily created and then deployed to a large group of people. • The advantage over a conventional psychological experiment done in the presence of a researcher is that a large amount of data was collected in a short amount of time because dozens of people can access the application at once. Because the researcher hoped to achieve accurate data, a large sample-set was favorable.
Introduction-Preliminary Research • Human reaction time varies widely depending on the type of stimulus (auditory, visual, touch) and degree of such stimulus (loud, bright, hot). Hypothesis one tests this. • There are several types of reaction tests. If the user were instructed, for example, to only click the button when the color change was from red to green, but never from red to white, then upon the color change, the user would have to indentify the color. This is not the case. This is a simple reaction test because the user reacts regardless of the type of color change.
Introduction- Two Hypotheses • The researcher hypothesized that if reaction times of different color distances are compared, then the farther two colors are from each other (contrasted), the lower the reaction time will be. This extends to state that reaction time should not change for conjugate transitions (red to green and green to red). • Also hypothesized was that if green-red is the color transition, then there will be a quicker reaction due to the psychological connotations of that color transition (traffic lights for example).
Methods-Definition of Terms Primary (Color) – One of three components of light. RGB – Red, Green, and Blue (three primaries of additive light ) Each primary is represented by a number ranging from 0 to 255. Thus any color is defined by three numbers. Color distance – the distance between two colors. User – a human test subject Flash Application – The computer program sent to the users. Result – The data generated by a single user. Trial – A color transitions the Flash Application presents the user with. Reaction Time- The time between an event’s occurrence and a user reaction to that event.
Methods-Definition of Terms Conjugate Transitions- two transitions with equal color distances. e.g. red-green and green-red or yellow-red and green-yellow Visual Basic for Applications (VBA)- A programming language available in the Microsoft office suite to perform automated tasks (Macros). PHP: Hypertext Processor – A server-side scripting language which can handle data received from a remote computer. Microsoft Excel- A spreadsheet program used for analyzing and presenting data. Adobe Flash – A client-side application typically used in making web
Methods-Materials • Computer Application to design software which gauges reaction time (Adobe Flash CS3) • Server Application to collect from the Computer Application (PHP: Hypertext Processor) • Server Software to collect data (Xampp) • Spreadsheet Application to aggregate and perform analysis on the data. • Human Test Subjects
Methods- Color Theory • It is taught in elementary school that the three primary colors are Magenta, Yellow, and Cyan. This holds true for the subtractive color system, where a physical element (paint) is mixed with another. The color Magenta, for example absorbs all colors except Magenta. It thus holds that if you add all colors together, the mixture would absorb all colors, and would reflect no light, thus resulting in black. • There exist two color system though. Above is described the subtractive color system, but an additive one also exists. This is what is experienced every day when you look at a TV or computer monitor. The three primary colors of this system are Red, Green, and Blue (RGB). A Red light generates only Red light, and no other light. By adding colors together, all color lights would be generated yielding white light. • The computer represents colors by using RGB numbers where each primary is a number from 0 to 255.
Methods-Colors Used • This block is represented by (255,0,0 in R,G,B) • This block is (0,255,0) • This block is (255,255,0) Equivalent to Red+Green • This block is (255,255,255) • This block is (0,0,0) • This block is (128,128,128) ½ of each color, 50% gray • This block is (51,51,51) Dark Gray • This block is (187,187,187) Light Gray These are the colors used throughout the project.
Methods-Determining Color Distance • Color distance is determined by the 3D distance between to coordinates, where each component of each coordinate is a component of RGB. • The Pythagorean theorem is used in deriving the distance formula : • While usually expressed for 2D coordinates, the same holds true for 3D coordinates: • Change in Red = Δx, Change in Green = Δy, Change in Blue = Δz
Methods- Determining Color Distance Example White (255,255,255) • Perceiving colors as a pointinside a cube helps makesense of color distances. • Each axis of the cuberepresents a primary. • The distance betweenblack and white is thenrepresented by this line • The length of this line is thegeometric distance betweenthese two points ormathematically: Red (255,0,0) Blue (0,0,255) Green (0,255,0) Black (0,0,0)
Methods • Design a computer application that performs a randomly-timed color transition (independent variable) and measures the time between that color transition and the click of a mouse accurate to milliseconds (dependant variable). The computer application must also be able submit the raw data to the researcher. The color transitions are specifically chosen to test the hypothesis by including transitions of differing color differences, transitions of equal color differences, and transitions of colors with a psychological connotation.
Methods Step 1 cont. This experiment does not truly test reaction time, though. It tests reaction time plus latency of motor control (pressing a button). Because this latency is expected to be similar throughout the test, the data simply has an offset added and can be accounted for by doing scaling.
Methods Step 1 The Flash App. This is the initial view of the Flash application. This display provides trials which have been stored If the user clicks within 700 ms, then the application will prompt to continue the next trial This notifies the user that a transition will be occurring soon. This display provides the status of the main button This black color will be changing soon. This is the main button The button’s color has abruptly changed and the computer awaits a click.
Methods Step 1 The Flash App. These are the precautions the application takes: If the user clicks the button before the color change, then there would be a negative reflex time! The user must have accidentally clicked the button so the trial will be discarded and repeated. If the user takes too long (more than 700 ms) to react to the color change, the application will explain to the user why the error was generated, and will allow the user to repeat the trial. Realistically, human reaction time should be under 700 ms, so if the user did not react in time, it must be because of an abnormality.
Methods Step 1 The Flash App. This is the submission screen. When users submit their data, they are given a chance to include their contact information and any comments they’d like the researcher to see. None of these fields are required. Users may submit up to three times in case they experience issues with their popup blockers.
Methods Step 1 The Flash App.The Trials There are in total 9 color transitions to be tested. These are each tested twice and their times are then averaged. These 18 trials are not presented in any predictable manner so that the user is not able to expect any specific transition. In addition, there are four initial trials which are not used to gauge the user, but rather to get the user comfortable with the application. This is not made obvious to the users. This makes for a total of 22 trials.
Methods Step 1 The Flash App.The Trials The time between a trials beginning and a color transition is programmed as: Random_Interval = (Math.random() * 5000) + 2000; Where Math.random() represents a value between 0 and 1. The +2000 denotes that the minimum time will be 2 seconds (2000 ms). This is necessary because Math.random() will occasionally be very small and the user would not be able to identify a transition. The random time can be 2-7 seconds.
Methods • Design a PHP application which accepts input from the application depicted in step 1. This application should store the data on the server either in a text files, or in a database. This project used the former. The PHP application takes care of averaging the two trials for each transition, and also provides the user with some basic data like lowest and highest reflex time and the according colors.
Methods • Visual Basic for Applications (VBA) was used to read the text files generated by the PHP script. VBA populates an excel spreadsheet and also stores a 9-bin (for each color transition) histogram for the data. • VBA also scales all the times. For each individual result VBA gets the lowest and highest times. It then performs the following math on each raw time for that specific result. Thus, each data point will range from 0 to 1, where 1 is the highest and 0 is the lowest reaction time of all nine trials of a single result. Since the purpose is not to compare users to another, but instead to see what affect color has on human reaction times in general, this makes the data more accurate to analyze.
Methods • Graph the scaled data from step 4 against the color distance and perform a curve-fit on the data. The most effective curve fit is either logarithmic, or hyperbolic because there should be a horizontal and vertical asymptote. The horizontal asymptote occurs because as the color difference approaches zero (no change in color) there should be no reaction (an infinite reaction time). The vertical asymptote exists because no matter how high of a color distance, reaction time can never be less than 0. (Realistically, there is a limit to human reaction time so the asymptote probably exists above the y=0 line).
Results-Explanation • Graph 1 is a plot of scaled (relative) reaction times against color distance. • Graph 2 is a chart of the percent of users who reacted most slowly to each color • Graph 3 is a chart of the percent of users who reacted most quickly to each color • Graph 4 is a chart of the percent difference in conjugate transitions which have the same color distance (e.g. Black-White and White-Black) • Please refer to the appendix to see individual results
Discussion The average of all the raw data (time in ms) was found to be 319 ms. This fits the expected value of 180 ms for reaction time plus mechanical latency (Human Motor Behavior: An Introduction, pg. 70) In Graph 1 shows the relative averages of all 400 times into 5 groups. These raw data points don’t show a very strong corelation but Excel’s best-fit function reveals that there is a correlation in the data which proves that as color distances increases, reaction time decreases.
Discussion Because the first hypothesis states color distance as the only independent variable, it would follow that conjugate colors transitions that have equal color distances trigger similar reaction times. Graphs 3 and 4 counter-prove this. If the order the colors are presented had no affect, then there should be equal percentages of highest color transitions for black-white/white-black, red-green/green-red and green-yellow/yellow-red.
Discussion-cont This was not the case. Graph 4 shows that there is an average of 34% difference of time between color transitions of equal distance. Interestingly, though, Graph 2 seems to show similar percentages of quickest times for black-white, red-green and their conjugates, but not for green-yellow/yellow-red. This leaves Hypothesis one partially proven. Color distance has a significant impact on reaction time, but it is not the only impact. The order the colors are presented also affect the reaction time.
Discussion-Possible Errors • Users were not instructed to calibrate their monitors, so in this experiment, there is no way to guarantee that colors were displayed correctly. This may have caused unpredictable data. • Despite the researcher’s best efforts in providing detailed instructions to users, lack of comprehension may have led to the incorrect assessment of reflex times. Users were, for example, asked not to engage in any other activity while doing the trials, but there is no guarantee this instruction was followed. • The sample set is biased since it mostly consists of students because the researcher was more easily able to use these subjects.
Discussion-Improvements • This experiment could be improved by assuring every user’s monitors represents colors equally. This can’t be assumed so the user would need to perform a color calibration. • If the experiment were performed in the presence of the researcher, he or she would be able to observe any inappropriate behavior and discard those results which are not accurate. • More trials could also be added to achieve higher accuracy. However, this may make the test too long and users can become uninterested, possibly skewing the data near the end of the test.
Discussion-Improvements • If further research were warranted, the experiment is extendable to thousands of users without any change in the design of the applications. The only limitation is divulgement of the project to larger amounts of people. • If more than 6 different color differences were used, Graph 1 could become much more defined. Again, care must be taken to not create an excessively long experiment.
Conclusion • The First Hypothesis was proven because reaction time does decrease as color distance increases. (Graph 1) This distance though isn’t the only determinant of reaction time because conjugate transitions had up to 37% difference for black-white transitions. • Graph 4 shows that the most effective transition is yellow to red with 27% of users having that as their quickest times. This is not the most contrasted difference as the color distance between yellow and red is only 255 (almost half of the distance between black and white).
Conclusion-cont. The researcher concluded that this is attributed to the brightness of both of the colors which make users more alert. This rejects Hypothesis two which states that a transition of green-red would be most effective in prompting user reaction. In hindsight, this result appears to make sense if traffic lights are again considered. A green-to-red change does not occur, but rather a green-to-yellow and then a yellow to red change this data proves the effectiveness of the current traffic light system.
Conclusion-Application • The least effective color transition for causing a quick reaction time were nearly tied with 19% of users having black to dark gray and 20% dark gray to light gray as their slowest times. • Based on the data, any situation which demands a quick response will benefit by using a color change of Yellow to Red. Yellow has calming effects yet gets attention and Red is stimulating; this research can also be applied to video advertising to persuade a viewer towards an idea or product by evoking different emotions.
Acknowledgements Thank you to: Adobe Systems Incorporated for the trial version of Flash CS3 Matt Keller for his help in designing the computer applications All participants who responded to the project and provided the researcher with data (Mrs. Flake’s US History and Mrs. Buffington’s AP Biology classes, and friends of mine.)
Bibliography/References Human Motor Behavior: An IntroductionJ. A. Scott Kelso, Published 1982 Lawrence Erlbaum Associates available in part at: http://books.google.com/books?id=Z0TUIDbWNhwC&dq=reaction+time+proportional+to+stimulus&source=gbs_summary_s&cad=0) ImageMAKER Development Inc. (2000). COLORCUBE Literature Retrieved February 8, 2008 fromhttp://www.colorcube.com/articles/articles.htm Infoplease Article, Pearson Education (2007), Color Psychology Retrieved Feb 14, 2008 from http://www.infoplease.com/spot/colors1.html Wikipedia, The Free Encyclopedia (February 2008). Mental Chronometry Retrieved February 14, 2008 fromhttp://en.wikipedia.org/wiki/Mental_chronometry Wikipedia, The Free Encyclopedia (February 2008). Reaction Times Retrieved February 14, 2008 fromhttp://en.wikipedia.org/wiki/Reaction_time