A two-dimensional code having a plurality of types of cells arranged in a matrix such that a rectangular code region is delineated from a background by a plurality of border lines (6a - 6d), the rectangular code region having four corners (5a - 5d) at each of which two of the border lines (6a - 6d) cross to each other, the four corners (5a - 5d) consisting of a first corner specified in the four corners (5a - 5d), two second corners (5b, 5c) neighbouring the first corner via each of two (6a, 6b) of the four border lines (6a - 6d), and a single diagonal corner diagonally opposed to the first corner, the two border lines (6a, 6b) extend, respectively, from the first corner to the second corners (5b, 5c), the plurality of types of cells being different in saturation, hue, or lightness from each other, the two-dimensional code comprising: a single first specific pattern arranged at the first corner, the first specific pattern showing a position of the first corner; two second specific patterns (3, 4) arranged to specify the two second corners (5b, 5c), respectively; an end pattern arranged to specify the diagonal corner, wherein the first specific pattern and the second specific pattern (3, 4) are different in shapes from each other, the second specific patterns (3, 4) and the end pattern are also different in shapes from each other, the first specific pattern and the end pattern are also different in shapes from each other, characterized in that each of the second specific patterns (3, 4) includes a series of two or more of the cells (C (3a',..., 3a'; 4a',... 4a')), the series of two or more of the cells (C (3a',..., 3a'; 4a',...4a')) being continuously and linearly arranged along each of the two border lines (6a, 6b) in the code region, being composed of the same type of the cells (C, for example dark color cells), and having a cell (3a', 4a') arranged at each of the two second corners (5b, 5c), and the first specific pattern is composed of an aggregation of the cells, and is configured into a square shape, and the square shape has a center at which a single cell of one of first and second colors is arranged as a center cell, wherein the first and second colors are different from each other in the saturation, hue or lightness, cells of the other of the first and second colors are arranged to enclose the center cell in a square and annular form, and cells of the one of the first and second colors are arranged to enclose the cells arranged in a square and annular form, the cells of the one of the first and second colors provide a square outer edge which provides an outer edge of the first specific pattern, the end pattern having a series of cells including a cell arranged at the diagonal corner and being the same as the center cell in the saturation, hue, or lightness, the remaining cells (7a, 7a) which are other than the cell arranged at the diagonal corner, among the series of cells (7a, 7a, 7a), being arranged along the two border lines (6c, 6d), and the rectangular code region is filled with the plurality of types of cells providing code blocks (11, 12) including data code blocks in which encoded data are mapped and error-correction code blocks for correcting an error of the code. a single first specific pattern arranged at the first corner, the first specific pattern showing a position of the first corner; two second specific patterns (3, 4) arranged to specify the two second corners (5b, 5c), respectively; an end pattern arranged to specify the diagonal corner, wherein the first specific pattern and the second specific pattern (3, 4) are different in shapes from each other, the second specific patterns (3, 4) and the end pattern are also different in shapes from each other, the first specific pattern and the end pattern are also different in shapes from each other, characterized in that each of the second specific patterns (3, 4) includes a series of two or more of the cells (C (3a',..., 3a'; 4a',... 4a')), the series of two or more of the cells (C (3a',..., 3a'; 4a',...4a')) being continuously and linearly arranged along each of the two border lines (6a, 6b) in the code region, being composed of the same type of the cells (C, for example dark color cells), and having a cell (3a', 4a') arranged at each of the two second corners (5b, 5c), and the first specific pattern is composed of an aggregation of the cells, and is configured into a square shape, and the square shape has a center at which a single cell of one of first and second colors is arranged as a center cell, wherein the first and second colors are different from each other in the saturation, hue or lightness, cells of the other of the first and second colors are arranged to enclose the center cell in a square and annular form, and cells of the one of the first and second colors are arranged to enclose the cells arranged in a square and annular form, the cells of the one of the first and second colors provide a square outer edge which provides an outer edge of the first specific pattern, the end pattern having a series of cells including a cell arranged at the diagonal corner and being the same as the center cell in the saturation, hue, or lightness, the remaining cells (7a, 7a) which are other than the cell arranged at the diagonal corner, among the series of cells (7a, 7a, 7a), being arranged along the two border lines (6c, 6d), and the rectangular code region is filled with the plurality of types of cells providing code blocks (11, 12) including data code blocks in which encoded data are mapped and error-correction code blocks for correcting an error of the code.