pantone.js 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /**
  2. * pantone.js — 参考潘通色库(防侵权叫法:界面统一称「参考潘通色」)
  3. * 色值为 Pantone 公开发布的 sRGB 模拟值,仅供屏幕参考;
  4. * 实际颜色以实物色卡与打样效果为准。
  5. */
  6. (function () {
  7. 'use strict';
  8. var LIST = [
  9. // 白 / 米
  10. { code: '11-4001TPG', name: 'Brilliant White', hex: '#F4EFE4' },
  11. { code: '11-0601TPG', name: 'Bright White', hex: '#F6F5F2' },
  12. { code: '11-4201TPG', name: 'Cloud Dancer', hex: '#F0EEE3' },
  13. { code: '11-4300TPG', name: 'Cloud Cream', hex: '#F3EDDE' },
  14. { code: '12-0304TPG', name: 'Vanilla Ice', hex: '#E9DFCE' },
  15. { code: '12-1009TPG', name: 'Sandy Almond', hex: '#DCC49A' },
  16. // 灰
  17. { code: '12-4302TPG', name: 'Gray Mist', hex: '#DCD8D0' },
  18. { code: '13-0000TPG', name: 'Nimbus Cloud', hex: '#D5D2CB' },
  19. { code: '14-4102TPG', name: 'Micro Chip', hex: '#C6C7BE' },
  20. { code: '16-3903TPG', name: 'Sleet', hex: '#B6B7B4' },
  21. { code: '17-3907TPG', name: 'Neutral Gray', hex: '#9A9B94' },
  22. { code: '19-3902TPG', name: 'Iron Gate', hex: '#54544F' },
  23. // 黑
  24. { code: '19-4305TPG', name: 'Black', hex: '#2B2B2A' },
  25. { code: '19-4205TPG', name: 'Night Sky', hex: '#33343B' },
  26. // 红
  27. { code: '18-1655TPG', name: 'Scarlet', hex: '#B3282D' },
  28. { code: '18-1663TPG', name: 'Ribbon Red', hex: '#A81632' },
  29. { code: '17-1664TPG', name: 'Fiery Coral', hex: '#C24E39' },
  30. { code: '16-1544TPG', name: 'Grenadine', hex: '#D4553B' },
  31. // 橙 / 黄
  32. { code: '15-1264TPG', name: 'Tangerine', hex: '#E0733B' },
  33. { code: '14-0952TPG', name: 'Golden Glow', hex: '#E9B54C' },
  34. { code: '13-0850TPG', name: 'Groundworks', hex: '#E8C64B' },
  35. { code: '12-0643TPG', name: 'Sunlight', hex: '#F2D06B' },
  36. // 绿
  37. { code: '17-0120TPG', name: 'Watercress', hex: '#5B6B3C' },
  38. { code: '18-0135TPG', name: 'Pine Needle', hex: '#3A5540' },
  39. { code: '16-0110TPG', name: 'Turf Green', hex: '#6E8C4E' },
  40. { code: '15-0326TPG', name: 'Organic Green', hex: '#7FA374' },
  41. { code: '14-6320TPG', name: 'Aquamarine', hex: '#8CC1B2' },
  42. // 蓝
  43. { code: '19-4052TPG', name: 'Classic Blue', hex: '#2B3A67' },
  44. { code: '18-4141TPG', name: 'Deep Water', hex: '#3A5F7D' },
  45. { code: '16-4132TPG', name: 'Little Boy Blue', hex: '#6C9DC0' },
  46. { code: '14-4318TPG', name: 'Powder Blue', hex: '#C0D6DB' },
  47. // 紫
  48. { code: '18-3838TPG', name: 'Royal Lilac', hex: '#6F5490' },
  49. { code: '17-3628TPG', name: 'Amethyst', hex: '#9A7BB0' },
  50. { code: '15-3817TPG', name: 'Sheer Lilac', hex: '#C5A8CC' },
  51. // 粉
  52. { code: '17-1929TPG', name: 'Rose Violet', hex: '#C86A8E' },
  53. { code: '16-2120TPG', name: 'Lithe Pink', hex: '#E2B5C0' },
  54. { code: '12-2903TPG', name: 'Chenille', hex: '#EED4CE' },
  55. // 棕 / 大地
  56. { code: '19-1116TPG', name: 'Java', hex: '#5A4A42' },
  57. { code: '18-1230TPG', name: 'Brown Sugar', hex: '#A6743D' },
  58. { code: '16-1225TPG', name: 'Toffee', hex: '#C08A54' },
  59. { code: '17-1129TPG', name: 'Bone Brown', hex: '#8A6F4B' },
  60. { code: '18-1027TPG', name: 'Cocoa Brown', hex: '#7C5348' }
  61. ];
  62. var NOTE = '参考潘通色 · 屏幕色值为模拟参考,实际以打样效果为准';
  63. window.PL = window.PL || {};
  64. window.PL.pantone = {
  65. list: LIST,
  66. note: NOTE
  67. };
  68. })();