A method of coding a block of video data using palette coding in a video coding system, wherein a picture is partitioned into multiple image areas, the method comprising: receiving input data associated with a current image area consisting of multiple blocks, wherein the blocks are configured into block groups, the block corresponds to a coding unit, CU, the block group corresponds to a coding tree block, CTU, and the image area corresponds to a CTU row; determining a palette predictor for the first palette-coded block (p1, C) of the current image area; and applying palette coding to the blocks of the current image area, wherein at least one block of the current image area uses the palette predictor for the first palette-coded block (p1, C) of the current image area as the palette predictor; characterized in that the palette predictor for the first palette-coded block (p1, C) of the current image area is determined based on a selected palette or triplet palette associated with a selected block (p2, B) which corresponds to a last CU (p2, B) of a selected CTU in a preceding CTU row located at an above-right corner of a beginning CTU in a current CTU row; wherein the beginning CTU contains the first palette-coded block (p1, C) and the selected palette or triplet palette corresponds to a last coded palette or triple palette of the last CU (p2, B) of the selected CTU; wherein the first palette-coded block (p1, C) of the current image area uses the selected palette or triplet palette as palette predictor if wavefront parallel processing, WPP, is ON for the video data and does not use the selected palette or triplet palette as palette predictor if the WPP is OFF for the video data. receiving input data associated with a current image area consisting of multiple blocks, wherein the blocks are configured into block groups, the block corresponds to a coding unit, CU, the block group corresponds to a coding tree block, CTU, and the image area corresponds to a CTU row; determining a palette predictor for the first palette-coded block (p1, C) of the current image area; and applying palette coding to the blocks of the current image area, wherein at least one block of the current image area uses the palette predictor for the first palette-coded block (p1, C) of the current image area as the palette predictor; characterized in that the palette predictor for the first palette-coded block (p1, C) of the current image area is determined based on a selected palette or triplet palette associated with a selected block (p2, B) which corresponds to a last CU (p2, B) of a selected CTU in a preceding CTU row located at an above-right corner of a beginning CTU in a current CTU row; wherein the beginning CTU contains the first palette-coded block (p1, C) and the selected palette or triplet palette corresponds to a last coded palette or triple palette of the last CU (p2, B) of the selected CTU; wherein the first palette-coded block (p1, C) of the current image area uses the selected palette or triplet palette as palette predictor if wavefront parallel processing, WPP, is ON for the video data and does not use the selected palette or triplet palette as palette predictor if the WPP is OFF for the video data.