Let's denote the number as \( x \). According to the problem, one-quarter of the difference of the number and 3 is equal to 2. We can write this as an equation:
\[ \frac{1}{4}(x - 3) = 2 \]
To solve for \( x \), we'll first multiply both sides of the equation by 4 to eliminate the fraction:
\[ x - 3 = 8 \]
Next, we add 3 to both sides:
\[ x = 8 + 3 \]
\[ x = 11 \]
Thus, the number is 11.