Color Stroop Task

Executive Function Duration: ~8 minutes
Color Stroop Task screenshot

System Requirements

🖥️
Screen Size:
Minimum: 800×600
Recommended: 1280×800
⌨️
Keyboard required
⚠️
Color discrimination required
May be challenging for colorblind participants

Description

Color-word Stroop task focusing on ink color naming while suppressing the prepotent word-reading response. Supports keyboard or audio response modes.

About This Test

Participants name the ink color of words while ignoring the word meaning. The task includes practice trials followed by two test blocks containing congruent (word and color match), incongruent (word and color mismatch), and neutral (non-color word) trials. In keyboard mode, participants press number keys (1-4) corresponding to colors. In audio mode, participants verbally state the color and responses can be scored in real-time with keyboard or coded later from saved audio files.

Test Details

Test ID:
stroop-color
Main File:
color-stroop.pbl
Parameters:
16 configurable parameters
Languages:
German English Spanish French Italian Korean Dutch Portuguese

🚀 Try Without Registration

Run this test immediately without creating an account. Data stays in your browser.

Data Output

Creates multiple data files depending on response mode: (1) colstroop-<responsetype>-<subnum>.csv with trial-by-trial data containing columns: subnum (participant code), responsecond (response condition: 'keyboard' or 'audio'), code (participant code), block (block identifier: 'Practice' or block number 1-2), trial (trial number), stimword (word presented), stimcolorid (ink color ID: 1-4), stimcolorname (ink color name), cond (trial condition: 'C'=congruent, 'I'=incongruent, 'N'=neutral), responded (whether response was made: 1=yes, 0=timeout), response (keyboard response 1-4 or -1 if audio mode without real-time scoring), correct (trial accuracy: 1=correct, 0=incorrect, -1=not scored), abstime (trial start time in ms), rt (response time in ms), randomerror (random error: 1=error not attributable to incongruency, 0=correct or congruence error), incong (incongruence error: 1=error matching word text, 0=correct or random error), speechduration (for audio mode: duration of speech in ms, 0 for keyboard), recordtime (total recording time in ms for audio mode); (2) colstroop-<responsetype>-summary-<subnum>.txt containing text summary with accuracy and RT statistics by condition; (3) colstroop-<responsetype>-pooled.csv with all trials pooled across participants. For audio mode, individual trial audio files may be saved as WAV files in data/<subnum>/ directory if saveAudio parameter is enabled.

Example Data

subnumresponsecondcodeblocktrialstimwordstimcoloridstimcolornamecondrespondedresponsecorrectabstimertrandomerrorincongspeechdurationrecordtime
testkeyboarddata/test/trial--10000-Practice1-10000green4yellowI1419685951000951
testkeyboarddata/test/trial--9999-Practice1-9999yellow4yellowC14112648605000605
testkeyboarddata/test/trial--9998-Practice1-9998green3greenC11015261759100759
testkeyboarddata/test/trial--9997-Practice1-9997yellow3greenI13118026706000706
testkeyboarddata/test/trial--9996-Practice1-9996blue3greenI13120738645000645
testkeyboarddata/test/trial--9995-Practice1-9995red4yellowI1412339113770001377
testkeyboarddata/test/trial--9994-Practice1-9994blue2blueC12126773803000803
testkeyboarddata/test/trial--9993-Practice1-9993and3greenN1312958411070001107
testkeyboarddata/test/trial--9992-Practice1-9992red1redC11132699675000675

View full file (169 rows) →

Sample data showing typical output format. Actual values will vary by participant.

About This Test

Color-word Stroop task focusing on ink color naming while suppressing the prepotent word-reading response. Supports keyboard or audio response modes.

Category: Executive Function
Estimated Duration: 8 minutes
Available Translations: 8 languages

Documentation Sources:
Test description file, Test implementation, Parameter schema

Documentation Status: Complete