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