A measuring instrument comprising: a measure on which a code having a plurality of color patterns is printed, each of the color patterns having a plurality of digits to which values of a N-ary number are assigned with N being 3 or more, one of different colors respectively corresponding to one of N-ary values being assigned to each pattern corresponding to each digit included in each color pattern, the patterns corresponding to each digit being arranged in a second direction intersecting a first direction, a Hamming distance between adjacent color patterns in the first direction being 1, and an amount of change in the value at one of the digits included in the adjacent color patterns being 1, the patterns arranged in the second direction all having the same width in the first direction; a plurality of first readers arranged in the second direction and configured to optically read colors of first ranges in a plurality of first patterns (41 to 45) corresponding to digits except a least significant digit among the color patterns, respectively, the first ranges in the first patterns being arranged in the second direction; and a plurality of second readers (22a to 22c) arranged in the first direction and configured to optically read colors of second ranges (32a to 32c) in a plurality of second patterns (46a to 46h) arranged in the first direction corresponding to patterns of the least significant digit among the color patterns, respectively, the adjacent second readers being arranged in the first direction at an interval different from the width of the pattern in the first direction, and one of the second readers being arranged in the second direction side by side with the plurality of the first readers. a measure on which a code having a plurality of color patterns is printed, each of the color patterns having a plurality of digits to which values of a N-ary number are assigned with N being 3 or more, one of different colors respectively corresponding to one of N-ary values being assigned to each pattern corresponding to each digit included in each color pattern, the patterns corresponding to each digit being arranged in a second direction intersecting a first direction, a Hamming distance between adjacent color patterns in the first direction being 1, and an amount of change in the value at one of the digits included in the adjacent color patterns being 1, the patterns arranged in the second direction all having the same width in the first direction; a plurality of first readers arranged in the second direction and configured to optically read colors of first ranges in a plurality of first patterns (41 to 45) corresponding to digits except a least significant digit among the color patterns, respectively, the first ranges in the first patterns being arranged in the second direction; and a plurality of second readers (22a to 22c) arranged in the first direction and configured to optically read colors of second ranges (32a to 32c) in a plurality of second patterns (46a to 46h) arranged in the first direction corresponding to patterns of the least significant digit among the color patterns, respectively, the adjacent second readers being arranged in the first direction at an interval different from the width of the pattern in the first direction, and one of the second readers being arranged in the second direction side by side with the plurality of the first readers.